Closed

Need help with a small AHK script

~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

Evner: HTML, Javascript, PHP, Python, Software Arkitektur

Se mere: I need help with a python script, need help to start a small business, need help marketing a small business, i don t have money for a designer but i need help with my kitchen layout, need help writing the dialogue for a movie script, need help to fix my script, need help php script, need help auction website script big project, need small fix script, need help write python script operate telit module, need help text website, open source projects need help, freelance need help wsdl file, need help adding google adsense site, mp3 files need help transcribing

Om arbejdsgiveren:
( 0 bedømmelser ) United Kingdom

Projekt ID: #16474216

5 freelancere byder i gennemsnit £17 på dette job

krishan725

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 Flere

£18 GBP på 1 dag
(71 bedømmelser)
6.3
£18 GBP på 1 dag
(6 bedømmelser)
3.8
enginners2

Hello, I have reviewed the requirement about the work and as per the requirement I am ready to work for you . Thanks Aslam

£18 GBP på 1 dag
(3 bedømmelser)
3.1
£18 GBP på 1 dag
(5 bedømmelser)
2.3
paradox8484

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.

£13 GBP på 1 dag
(2 bedømmelser)
0.7