Loop Click and Paste Script

Get help with using AutoHotkey and its commands and hotkeys
Roiy
Posts: 6
Joined: 10 Sep 2020, 21:45

Loop Click and Paste Script

Post by Roiy » 23 Sep 2020, 09:59

Im trying to make a script that left CLicks and then pastes every second

User avatar
Yakshongas
Posts: 591
Joined: 21 Jan 2020, 08:41
Facebook: Yakshongas

Re: Loop Click and Paste Script

Post by Yakshongas » 23 Sep 2020, 10:03

Activates with F1

Code: Select all

F1::
Toggle := !Toggle
Click
While, (Toggle = 1)
{
    SendInput, {LControl down}v{LControl up}
    Sleep, 1000
}
Return
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹

Roiy
Posts: 6
Joined: 10 Sep 2020, 21:45

Re: Loop Click and Paste Script

Post by Roiy » 23 Sep 2020, 10:10

It does not click do I need to toggle it?

User avatar
Yakshongas
Posts: 591
Joined: 21 Jan 2020, 08:41
Facebook: Yakshongas

Re: Loop Click and Paste Script

Post by Yakshongas » 23 Sep 2020, 11:17

It clicks in the position your mouse pointer is, if you want it to also click every second move the Click command inside the While curly braces.
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹

Post Reply

Return to “Ask For Help”