Jump to content

help with send chr


-TS-
 Share

Recommended Posts

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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...