Vegar Posted March 2, 2009 Share Posted March 2, 2009 (edited) Hello ...im making a script that Logs how many times you click on evry button.. and i've figured out how to log them but i got into a litle problemhere is how i do it now:...$clicksX = 0If _IsPressed("58", "user32.dll") Then while _IsPressed("58","user32.dll") sleep(1) WEnd $clicksX = $clicksX + 1 GUICtrlSetData($X_label, "X Have been Clicked = " & $clicksX & "Times")EndIf...butt i wanted to use the script for some gaming, and then it does not regisert the clicks if more than one button is pushed at the same time, witch is quite annoying..so do anyone know what i should do to prewent this?!!? Edited March 2, 2009 by Vegar Link to comment Share on other sites More sharing options...
martin Posted March 2, 2009 Share Posted March 2, 2009 (edited) Hello ...im making a script that Logs how many times you click on evry button.. and i've figured out how to log them but i got into a litle problemhere is how i do it now:butt i wanted to use the script for some gaming, and then it does not regisert the clicks if more than one button is pushed at the same time, witch is quite annoying..so do anyone know what i should do to prewent this?!!?This post, and previous post, might help.EDIT:added the missing link. Edited March 2, 2009 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. 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