Need help with a small AHK script
£10-20 GBP
Paid on delivery
~LButton::
; Only send click if mouse button was held down for < 500ms
KeyWait, LButton
if (A_TimeSinceThisHotkey < 500)
send abc
Return
The above works, and doesn't send the click command once LButton is released
I want to now add two functions for the click, without losing the above function. I have tried below, but this does NOT work as desired
~LButton::
; Only send click if mouse button was held down for < 500ms
KeyWait, LButton
if (A_TimeSinceThisHotkey < 500)
var++
if var>2
var:=1
If var=1
{
abc
}
If var=2
{
abc
}
Return
Project ID: #16474216
About the project
3 freelancers are bidding on average £16 for this job
Hi, I'm krishan, from India. We have a team with highly skilled in Wordpress,Magento,Wordpress plugin development,Theme customization.I can discuss details with chat. Relevant Skills and Experience-3+ years of experien More
I have extensive experience with autohotkey and am confident I can improve your script quickly. Please feel free to chat with me about the project before awarding.