Jump to content

Arrow Keys


Recommended Posts

Hello,

First of all I want to say AutoIT is a superb scripting and automating language.

Second I need to have a possibility to send a UP or a DOWN. I know there is a Function called "Send".

I use that one already like this Send ("{UP}"); but it seems that this will trigger the UP key on the NumPad. I need the UP Key between the Main Keybord and the NumPad. Anybody knows if it is possible to simulate a key press of those arrow keys located between the Main Keybord and the NumPad ? if it is possible please send a respond with a example then.

Thank you

Link to comment
Share on other sites

Well i have a program what needs to be controlled with those arrow keys exactly and Send("{UP}") doesn't work so i don't know whats going wrong then.

Edited by Ursie
Link to comment
Share on other sites

What program? The program could be hooking into the keyboard at a level lower than AutoIt operates.

As far as I know, AutoIT is sending the standard virtual key code for the up arrow. :D

Edit: Nevermind. It appears AutoIt is marking the extended flag the arrow key codes.... I might be able to post a patched AutoIt build tomorrow that works the way you want.

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

I'd say Jon is right.

In the official build, UP is marked as an "extended" key and a testing Send("{UP}") with a keyboard tester program flagged the arrow key on the main keyboard as being triggered.

I just tried an AutoIT build that removed the extended flag; the result was the number pad arrow key was flagged.

So it seems AutoIt shows the correct behavior.

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