-TS- Posted December 31, 2003 Share 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- Link to comment Share on other sites More sharing options...
CyberSlug Posted December 31, 2003 Share 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! Link to comment Share on other sites More sharing options...
w_sp8er Posted December 31, 2003 Share Posted December 31, 2003 Can you post some of the script? Link to comment Share on other sites More sharing options...
-TS- Posted December 31, 2003 Author Share 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 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