Frit Posted June 7, 2006 Share Posted June 7, 2006 There's a way to define a condition like "If Left Mouse Button is Clicked Then...."? If you didn't understand my point, post. Link to comment Share on other sites More sharing options...
jefhal Posted June 7, 2006 Share Posted June 7, 2006 There's a way to define a condition like "If Left Mouse Button is Clicked Then...."?If you didn't understand my point, post.Look up "_ispressed" in the help file. It applies to mouse clicks as well as keyboard events... ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format Link to comment Share on other sites More sharing options...
fu2m8 Posted June 7, 2006 Share Posted June 7, 2006 There's a way to define a condition like "If Left Mouse Button is Clicked Then...."? If you didn't understand my point, post. could try using the _Ispressed function in Beta #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 100 ) If _IsPressed("01", $dll) Then MsgBox(0,"_IsPressed", "Left Mouse Button Was Pressed") ExitLoop EndIf WEnd DllClose($dll) Exit Note: was ripped straight from the Beta version of the helpfile and just changed to a left click. Would be pretty easy to point it to ur own function after the mouse was clicked Link to comment Share on other sites More sharing options...
Frit Posted June 8, 2006 Author Share Posted June 8, 2006 Autoit help doesn't find "_ispressed". Are you sure that exists? Link to comment Share on other sites More sharing options...
jefhal Posted June 8, 2006 Share Posted June 8, 2006 Autoit help doesn't find "_ispressed".Be sure to download the beta version of AutoIT3 here. ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format Link to comment Share on other sites More sharing options...
exodius Posted June 8, 2006 Share Posted June 8, 2006 (edited) Autoit help doesn't find "_ispressed".Are you sure that exists?Once you have that you can get to the Beta helpfile through SciTE by pressing Alt-F1 or by going Start --> All Programs --> AutoIt v3 --> beta --> Help file. Edited June 8, 2006 by exodius Link to comment Share on other sites More sharing options...
fu2m8 Posted June 8, 2006 Share Posted June 8, 2006 Autoit help doesn't find "_ispressed".Are you sure that exists?Are you using the latest beta version from http://www.autoitscript.com/autoit3/files/beta/autoit/ ??Im using the 'autoit-v3.1.1.126-beta-Setup.exe' version along with the latest SCITE editor. Once installed (it goes over the top of the stable version) in your start menu there will be a shortcut @ Start > Programs > AutoIt v3 > beta > AutoIt Help File (beta) 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