Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

I need a simple script that I toggle on a key and it will hold the Mouse Left button until I press the key again


  • Please log in to reply
2 replies to this topic
obbnixilis
  • New members
  • 3 posts
  • Last active: Sep 26 2015 08:38 AM
  • Joined: 14 Sep 2015

I need a simple script that I toggle on a key (from the keyboard for example) and it will hold the Mouse Left button until I press the key again, can anyone send me please. Thank you!



Shadowpheonix
  • Members
  • 268 posts
  • Last active:
  • Joined: 10 Feb 2014

This is very simple, and everything you need to create a script like this can be found in the Autohotkey Documentation.



obbnixilis
  • New members
  • 3 posts
  • Last active: Sep 26 2015 08:38 AM
  • Joined: 14 Sep 2015

Yeah man I did it!!!! Super cool.. thank you for the help.. here is what I did:

 

 

RShift::

Toggle := !Toggle
If Toggle
Send {LButton Down}
else
Send {LButton Up}
return
 
Esc::ExitApp