nnm Posted November 10, 2004 Share Posted November 10, 2004 IF MouseDown("left") Then while 1 MouseDown("left") wEnd ElseIf MousUp("left") Then .... EndIf can i do it or something near work? Link to comment Share on other sites More sharing options...
Mr.Wizard Posted November 10, 2004 Share Posted November 10, 2004 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. Link to comment Share on other sites More sharing options...
nnm Posted November 10, 2004 Author Share Posted November 10, 2004 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) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now