Page 1 of 1

Paste/Ctrl Tab Looping issue

Posted: 08 Aug 2019, 16:07
by seanrfarris
This is my current script:
W::Click
`::^v
F13::^Tab

I'm currently pressing these buttons in that order about 50 times without moving the mouse and realized I could automate this a bit. This is within Chrome. I've tried researching but my script hasn't been successful. Could someone review my script below and find a way for this to work? Thank you in advance!

F13::
{
Loop, 50
Send, Click
Sleep, 500
Send, ^v
Sleep, 500
Send, ^Tab
}

Re: Paste/Ctrl Tab Looping issue

Posted: 08 Aug 2019, 16:46
by Xtra

Code: Select all

F13::
Loop, 50
{
    Send, Click
    Sleep, 500
    Send, ^v
    Sleep, 500
    Send, ^Tab
}
return
blocks(lines enclosed in braces)

Re: Paste/Ctrl Tab Looping issue

Posted: 09 Aug 2019, 07:55
by seanrfarris
This worked in the sense that it runs and loops but it isn't running as intended. It isn't clicking where the mouse is positioned. Does anyone know how to help with this? Is there a way to tell it to click in certain coordinates? That isn't preferred but it would certainly work better than it does now.

Re: Paste/Ctrl Tab Looping issue

Posted: 09 Aug 2019, 10:39
by Xtra
Use: Click