Browen Posted August 12, 2006 Share Posted August 12, 2006 Is there any way to "mouse hold" it seems mouseclick isn't working, becuase it goes to the location where its suppost to, but nothing happens, if i click manually it works fine seems to me that the simple tap just doesn't do it Link to comment Share on other sites More sharing options...
Kyler Carlson Posted August 12, 2006 Share Posted August 12, 2006 Is there any way to "mouse hold" it seems mouseclick isn't working, becuase it goes to the location where its suppost to, but nothing happens, if i click manually it works fine seems to me that the simple tap just doesn't do it more info would be helpful but would this do it? click_2(x coord, y coord) Func click_2($x_1,$y_1) MouseClick("left",$x_1,$y_1,1,0) sleep(1000) MouseClick("left",$x_1,$y_1,1,0) EndFunc Link to comment Share on other sites More sharing options...
/dev/null Posted August 12, 2006 Share Posted August 12, 2006 (edited) Is there any way to "mouse hold" it seems mouseclick isn't working, becuase it goes to the location where its suppost to, but nothing happens, if i click manually it works fineseems to me that the simple tap just doesn't do itI have no idea what you are talking about, so I can only make wild assumtions....Maybe this: MouseDown("left") MouseUp("left")combined with this: MouseMove($X,$Y,0)Kurt Edited August 12, 2006 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 12, 2006 Share Posted August 12, 2006 Is there any way to "mouse hold" it seems mouseclick isn't working, becuase it goes to the location where its suppost to, but nothing happens, if i click manually it works fineseems to me that the simple tap just doesn't do itOne possible cause for that is the window not being Active. The first mouse click only moves focus back to that window, and a second actually works. If that is what's happening, use WinActivate() before MouseClick(). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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