Sign in to follow this  
Followers 0
nnm

can I use this?

3 posts in this topic

IF MouseDown("left") Then

while 1

MouseDown("left")

wEnd

ElseIf MousUp("left") Then

....

EndIf

can i do it or something near work?

Share this post


Link to post
Share on other sites



No reason why you can't put a loop inside a condition, although the loop as you have it will go around forever and will use a lot of cpu because you don't have any wait states inside the loop...


I have a catapult. Give me all the money or I will fling an enormous rock at your head.

Share this post


Link to post
Share on other sites

No reason why you can't put a loop inside a condition, although the loop as you have it will go around forever and will use a lot of cpu because you don't have any wait states inside the loop...

<{POST_SNAPBACK}>

i simply writed idea. not full script. U can try to use it with waits, but it has no Return Value. so AutoIt dont know if i pressed it or released...

and... as i understand. many programs i.e. games looks only for mouseDown. so i can send MouseDown and it will work as mouseclick (i hope)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0