Search found 13 matches
- 14 Jan 2019, 08:45
- Forum: Ask for Help (v1)
- Topic: Send Keystrokes to Specific Chrome Window - Audible Cloud Player
- Replies: 1
- Views: 669
Re: Send Keystrokes to Specific Chrome Window - Audible Cloud Player
I got it to work: SetTitleMatchMode, 3 DetectHiddenWindows, On Media_Next:: WinGetTitle, CurrentWindow, A WinActivate, Cloud Player | Audible.com - Google Chrome ControlSend, ahk_parent, {right}, Cloud Player | Audible.com - Google Chrome WinMinimize, Cloud Player | Audible.com - Google Chrome WinAc...
- 14 Jan 2019, 08:38
- Forum: Ask for Help (v1)
- Topic: Send Keystrokes to Specific Chrome Window - Audible Cloud Player
- Replies: 1
- Views: 669
Send Keystrokes to Specific Chrome Window - Audible Cloud Player
I want to assign the media keys on my keyboard to send keystrokes to a specific chrome window to controle the Audible Cloud Player. The key reassign I can do easily, the problem is sending the keystrokes to that specific chrome window only. The window looks like this: https://imgur.com/o33wVCs So fa...
- 11 Jan 2018, 11:09
- Forum: Ask for Help (v1)
- Topic: Copying huge .txt files content to Excel sheets
- Replies: 10
- Views: 2196
Re: Copying huge .txt files content to Excel sheets
Finally, this worked: F1:: loop, 32 { Run, % "C:\Project\" format("{:04}",a_index) "\PARTEPL.LST" WinWait, PARTEPL.LST SLEEP 40 sendinput, ^a SLEEP 40 sendinput, ^c SLEEP 40 ClipWait, 1 SLEEP 40 WinClose, PARTEPL.LST WinActivate, Sheet.xlsm WinWait, Sheet.xlsm SLEEP 40 sendinput, ^v SLEEP 40 SEND ^{...
- 11 Jan 2018, 10:43
- Forum: Ask for Help (v1)
- Topic: Copying huge .txt files content to Excel sheets
- Replies: 10
- Views: 2196
Re: Copying huge .txt files content to Excel sheets
The problem is with FileRead and ^v in Excel... This script is almost working: XL := ComObjCreate("Excel.Application") XL.Visible := true WB := XL.Workbooks.open("C:\Project\Sheet.xlsx") WS := WB.Sheets("DATA2") loop, 32 { Run, % "C:\Project\" format("{:04}",a_index) "\PARTEPL.LST" WinWait, PARTEPL....
- 11 Jan 2018, 10:18
- Forum: Ask for Help (v1)
- Topic: Copying huge .txt files content to Excel sheets
- Replies: 10
- Views: 2196
Re: Copying huge .txt files content to Excel sheets
Try this. Tested wit 65k lines. XL := ComObjCreate("Excel.Application") XL.Visible := true WB := XL.Workbooks.open(" C:\Users\user\Dropbox\Profissional\Project\Sheets\Sheet.xlsx") WS := WB.Sheets("Data") loop, 32 { FileRead, varx, % "C:\Project\" format("{:04}",a_index) "\PARTEPL.LST" Clipboard := ...
- 10 Jan 2018, 12:26
- Forum: Ask for Help (v1)
- Topic: Copying huge .txt files content to Excel sheets
- Replies: 10
- Views: 2196
Copying huge .txt files content to Excel sheets
Basically, it would be this: Path = "0001" Copy content from: C:\Project\%path%\PARTEPL.LST Paste To: C:\Users\user\Dropbox\Profissional\Project\Sheets\Sheet.xlsx Sheets("DATA") Cell(A1) Path = "0002" Copy content from: C:\Project\%path%\PARTEPL.LST Paste To: C:\Users\user\Dropbox\Profissional\Proje...
- 28 Jun 2017, 09:33
- Forum: Ask for Help (v1)
- Topic: Add "https://" in URL if specific error page is displayed on Google Chrome
- Replies: 7
- Views: 2933
Re: Add "https://" in URL if specific error page is displayed on Google Chrome
Hotkey !i::Run, "<yourPathTo>\chrome.exe" "https://imgur.com" ; press Alt+i to call imgur.com Hotstring ::imgur.com::http://imgur.com That should work only for imgur, I want the script to detect the error image and then add "https://" on the beginning of the URL for every site. As I browse reddit f...
- 28 Jun 2017, 09:08
- Forum: Ask for Help (v1)
- Topic: Speed in typing vs pasting
- Replies: 9
- Views: 4892
Re: Speed in typing vs pasting
Don't know that haha, I have very basic knowledge on AHK commands, the keydelay i used before, but control... haha
If I may ask, why don't you just use CTRLV? Or you're curious about the delay difference haha?
If I may ask, why don't you just use CTRLV? Or you're curious about the delay difference haha?
- 28 Jun 2017, 08:48
- Forum: Ask for Help (v1)
- Topic: Speed in typing vs pasting
- Replies: 9
- Views: 4892
Re: Speed in typing vs pasting
https://autohotkey.com/docs/commands/Se ... nputDetail
Maybe then the delay to SendInput is the lowest possible OR your sendinput is reverting to sendplay as it says it may do... If so, setkeydelay is obeyed.
Maybe then the delay to SendInput is the lowest possible OR your sendinput is reverting to sendplay as it says it may do... If so, setkeydelay is obeyed.
- 28 Jun 2017, 08:42
- Forum: Ask for Help (v1)
- Topic: Add "https://" in URL if specific error page is displayed on Google Chrome
- Replies: 7
- Views: 2933
Re: Add "https://" in URL if specific error page is displayed on Google Chrome
Hotkey !i::Run, "<yourPathTo>\chrome.exe" "https://imgur.com" ; press Alt+i to call imgur.com Hotstring ::imgur.com::http://imgur.com That should work only for imgur, I want the script to detect the error image and then add "https://" on the beginning of the URL for every site. As I browse reddit f...
- 28 Jun 2017, 08:21
- Forum: Ask for Help (v1)
- Topic: Speed in typing vs pasting
- Replies: 9
- Views: 4892
Re: Speed in typing vs pasting
CtrlV is instataneous, it just pastes all of your clipboard. SendInput the autohotkey is sending key per key, it's "typing". Autohotkey has a default delay for sending keys, that's where your "cursos moving" comes from. https://autohotkey.com/docs/commands/SetKeyDelay.htm Default delay is 10ms, you ...
- 28 Jun 2017, 07:54
- Forum: Ask for Help (v1)
- Topic: Add "https://" in URL if specific error page is displayed on Google Chrome
- Replies: 7
- Views: 2933
Add "https://" in URL if specific error page is displayed on Google Chrome
Hi guys, first post here. I've used AHK for a while now, started using it on Skyrim, now I use it to work with AUTOCAD and EXCEL, just basic simple macros with "Send", "Loop", etc, never used it with google chrome. Where I work the internet access is blocked to some sites, but if I add "https://" be...
- 28 Jun 2017, 07:44
- Forum: About This Community
- Topic: Issues with registering, Post your username here...
- Replies: 861
- Views: 2034419
Re: Issues with registering, Post your username here...
Username: Bragatp
That's exactly the issue haha, it was a misstype, it should be "Bragato", can I change it?
That's exactly the issue haha, it was a misstype, it should be "Bragato", can I change it?