Jump to content
Sign in to follow this  
Lord_Doominik

hotkeys

Recommended Posts

hi, i tryed some things and find no more help in the autoit helpfile, and want to know, how you can set a hotkey for 2 keys... in the helpfile it is written like this but it dont works with my keys...:

HotKeySet("{LEFT}{UP}", "LinksOben")

it always do this, while only left is pressed.

Share this post


Link to post
Share on other sites

yes. but its ugly, compicated, unstable.

_IsPressed is much better for 2 hotkeys.

<{POST_SNAPBACK}>

i said it to him via icq already :(

[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites

it always do this, while only left is pressed.

according to the help file:

"When you set a hotkey, AutoIt captures the keypress and does not pass it on to the active application".

So, it captures EVERY single keypress. That's the reason why it fires when LEFT is pressed. I believe, you can only combine regular keys with modifier keys: ALT, CTRL, SHIFT and not with other "regular" keys.

Cheers

Kurt

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

kk, np... i already used _IsPressed, but i only want to know why you cant use hotkeys, or if you can use hotkeys... but thx for your answers!

and @Analritter: Spammer! :(

Edited by Lord_Doominik

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...