Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Defining hotkeys in variables.


  • Please log in to reply
4 replies to this topic
  • Guests
  • Last active:
  • Joined: --
Hi guys, i've got a problem I cannot fix myself.
I'm trying to make a script that will save defined hotkeys to an ini file for example (that's the part i know how to do) and then load them to in a scrpt, i mean:
var1 = ;the variable with assigned hotkey ex. {SPACE}
and now the part i dont have any idea...
var1:: ; ????
{

}
 
%var1%::
{

}
Plz help

tonne
  • Members
  • 1654 posts
  • Last active: Apr 10 2014 04:12 PM
  • Joined: 06 Jun 2006
Use the Hotkey-command.

  • Guests
  • Last active:
  • Joined: --
hmm can u please give me a small example of this usage? I dont understand...

tonne
  • Members
  • 1654 posts
  • Last active: Apr 10 2014 04:12 PM
  • Joined: 06 Jun 2006
hk = space

hotkey, %hk%, hklabel



hklabel:

  msgbox you pressed space

Return  



  • Guests
  • Last active:
  • Joined: --
thanks a lot