Ursie Posted May 2, 2004 Share Posted May 2, 2004 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 More sharing options...
Guest JohnD Posted May 2, 2004 Share Posted May 2, 2004 I always work with "Send, {UP}" and it works fine Link to comment Share on other sites More sharing options...
Ursie Posted May 3, 2004 Author Share Posted May 3, 2004 (edited) 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 May 3, 2004 by Ursie Link to comment Share on other sites More sharing options...
CyberSlug Posted May 3, 2004 Share Posted May 3, 2004 (edited) 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. 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 May 3, 2004 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...
Administrators Jon Posted May 3, 2004 Administrators Share Posted May 3, 2004 It's probably a game, and some games (FFXI etc) seem to block certain keypresses. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
CyberSlug Posted May 3, 2004 Share Posted May 3, 2004 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 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