-TS- Posted December 31, 2003 Posted December 31, 2003 (edited) not to sure if this is right Send( chr($1) ) if this is wrong plz post the correct coding THX or would i have to $chr1 = chr($1) Send($1) Edited December 31, 2003 by -TS-
CyberSlug Posted December 31, 2003 Posted December 31, 2003 (edited) What is $1 supposed to be? It it's a variable, I think it needs to start with a letter such at $a or $var1 Send(Chr(9)) ;that's the tab character $var = 9 Send(Chr($var)) $foo = Chr(9) Send($foo) To send the ASCII value A (same as pressing ALT+065 on the numeric keypad) Send("{ASC 65}") Single keys can also be repeated, e.g. Send("{DEL 4}") Presses the DEL key 4 times Send("{S 30}") Sends 30 'S' characters Send("+{TAB 4}) Presses SHIFT+TAB 4 times If you with to use a variable for the count, try $n = 4 Send("+{TAB " & $n & "}") If you wish to send the ASCII value A four times, then try $x = Chr(65) Send("{" & $x & " 4}") Edited December 31, 2003 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
-TS- Posted December 31, 2003 Author Posted December 31, 2003 cyberslug, everyone is not a complete noob at scripting all you hada say is that i set it up right.. but thx for your time and help
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