Lord_Doominik Posted June 8, 2005 Posted June 8, 2005 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.
GrungeRocker Posted June 8, 2005 Posted June 8, 2005 how about trying the udf _ispressed? search the forum for it! [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]
Lord_Doominik Posted June 8, 2005 Author Posted June 8, 2005 (edited) -.- but i want to know if it works with hotkeys... and: ERROR: _IsPressed(): undefined function. Edited June 8, 2005 by Lord_Doominik
GrungeRocker Posted June 8, 2005 Posted June 8, 2005 ...search the forum for it!<{POST_SNAPBACK}> [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]
Lord_Doominik Posted June 8, 2005 Author Posted June 8, 2005 -.-but i want to know if it works with hotkeys...
w0uter Posted June 9, 2005 Posted June 9, 2005 yes. but its ugly, compicated, unstable. _IsPressed is much better for 2 hotkeys. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
GrungeRocker Posted June 9, 2005 Posted June 9, 2005 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]
/dev/null Posted June 9, 2005 Posted June 9, 2005 (edited) 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 June 9, 2005 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 *
Lord_Doominik Posted June 12, 2005 Author Posted June 12, 2005 (edited) 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 June 12, 2005 by Lord_Doominik
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