Jump to content

hold a key while presing others


Recommended Posts

im working on a smiple prog cuz i am bored and i got stuck i want to make a prog to do some ALT+numpad number key codes like ALT+205 (hold alt and press 205 on numpad then let go of alt (with numlock off)) but if it do:

send("!{NUMPAD2}{NUMPAD0}{NUMPAD5}")

it only holds ALT for numpad 2 is there a way to get it to hold till after numpad 5?

any helps would be appreciated and thx in advance

Link to comment
Share on other sites

I'm not sure this works, but try {! DOWN} and {! UP}.

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Link to comment
Share on other sites

I really love when everyone goes: Is it possible?

Anything is possible in AutoIt.

lol, that is true XD

EDIT:

it dose not work it just types 1205 so its trying to actaully presss ! not ALT

EDIT EDIT:

im a retard i was looking through the auto it database and found this:

{ASC nnnn} Send the ALT+nnnn key combination

Edited by corl455
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...