Jump to content

Send("{a down}") but with a variable for "a"


Aceguy
 Share

Recommended Posts

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 by Aceguy
Link to comment
Share on other sites

  • Developers

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

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 by Aceguy
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...