Toggle a drag and drop loop: AutoHotkey

If you don’t use dwell clicking but would still like a repeating drag and drop capability, here is a script that uses an extra mouse or trackball button to toggle repeating drag locks on and off, for moving tiles in Words With Friends.

#IfWinActive, Words With Friends on Facebook – Mozilla Firefox
; Allow multiple threads so that this hotkey can “turn itself off”:
#MaxThreadsPerHotkey 2
#MaxThreadsPerHotkey 1
if drag_drop = y
drag_drop = n  ; Signal the other thread to stop.
drag_drop = y
Loop {
if drag_drop = n
Click down LButton
Sleep, 4000
Click up LButton
Sleep, 4000

This entry was posted in Disability, Technology and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s