Descention Posted March 4, 2006 Posted March 4, 2006 I am not sure where to start with this, but i need a script that will check a box when key is pressed and uncheck it when it is not being pressed, but a little bit more... such as... when "w" is held, boxes 1 to 4 are checked and the set button is pushed, then when it is released, they are all unchecked and the set button is pushed. And, if "w" and "a" are pressed at the same time, only boxes 2 and 4 are checked and set... this script is going to be controlling a different program that controls my parallel (printer) output. Much Thanks, -Scott
Moderators SmOke_N Posted March 4, 2006 Moderators Posted March 4, 2006 Download AutoIt Beta (In the Developers forum), and look at _IsPressed()... Sounds fairly simple. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
nfwu Posted March 4, 2006 Posted March 4, 2006 What program are you using? Provie the program and/or a screenshot. #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode()
Descention Posted March 4, 2006 Author Posted March 4, 2006 (edited) Lalim Parallel Port Control Basic 3.4http://www.download.com/Lalim-Parallel-Por...ml?tag=lst-0-10that's the link to the dowload pageEdit: i tried testing _IsPressed, but i keep getting an error..."Line 65 (File "C:\blah blah\Misc.au3"):Local $p = DllStructCreate ($struct)Local $p = ^ ERRORError: Uknown function name." Edited March 4, 2006 by Descention
Moderators SmOke_N Posted March 4, 2006 Moderators Posted March 4, 2006 You have to use the Beta http://www.autoitscript.com/forum/index.php?showtopic=19717And at the top of the .au3 file put #include <misc.au3>And use Alt+F5 to run it in Beta from SciTe. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Descention Posted March 4, 2006 Author Posted March 4, 2006 many many thanks, didnt know i had to turn beta active.
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