Jump to content

is this possible? udf => hotkey


Matthy
 Share

Recommended Posts

hi,

i im really buzzie with a program for a game to combine several letters with a ohter letter so it has quicker effect and i dont have to press al other things

like when i press 'j' it also presses 'j' and 'l' after it (am already helped with that problem thx)

but now it was wondering if this was possible

you can combine a udf with a hotkey like this

HotKeySet("j", "loadkeys_j")

func loadkeys_j()
$var = "j"
HotKeySet($var)
Send($var)
Send('k')
Send('l')

HotKeySet($var, "loadkeys_" & $var)
EndFuncoÝ÷ Ù»­È­¦,¹^¶nµ«­«Ú®&è§Ø§j-ì¥G¢Z+ QtÓM,¥©ì·)^

any ideas or isnt it possible because if it is i would save me some 500 lines :P

Cheers

Matthy

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