Aceguy Posted January 18, 2009 Share Posted January 18, 2009 (edited) would like to send a keydown press.... but use a variable like this $var=chr(65) send($var&{down}) can it be done. Edited January 18, 2009 by Aceguy [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
FireFox Posted January 18, 2009 Share Posted January 18, 2009 @Aceguy $var = Chr(65) Send("{" & $var & "down}") ?? Cheers, FireFox. Link to comment Share on other sites More sharing options...
Aceguy Posted January 18, 2009 Author Share Posted January 18, 2009 @firefox, it does not hold down the A key.? [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Developers Jos Posted January 18, 2009 Developers Share Posted January 18, 2009 There is a space missing between the character and DOWN.... Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Aceguy Posted January 18, 2009 Author Share Posted January 18, 2009 TY Jos & Firefox is there a chr for keypad 4.. [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
FireFox Posted January 18, 2009 Share Posted January 18, 2009 @Jos ops... I didnt saw that Cheers, FireFox. Link to comment Share on other sites More sharing options...
Aceguy Posted January 18, 2009 Author Share Posted January 18, 2009 (edited) is there a chr or asci i can use for keypad 4....... sleep(2000) send("{numpad4 down}") sleep(2000) $var = chr(75) Send("{" & $var & " up}") Edited January 18, 2009 by Aceguy [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Developers Jos Posted January 18, 2009 Developers Share Posted January 18, 2009 Why would the Numeric pad 4 be different from the "normal" 4 ? Or are you talking about the keyboardscancodes? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Aceguy Posted January 18, 2009 Author Share Posted January 18, 2009 (edited) Edited post #7 to explain what i would like to achieve. keypad 4 down using std method keypad 4 up using keyboardscancode, i think (not an expert on this) or similar means. not going to use the code like it is, but would like to get this test script working if poss Edited January 18, 2009 by Aceguy [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock 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