user
Joined: 05 Oct 2006 Posts: 423
|
Posted: Sat Mar 22, 2008 12:55 pm Post subject: more commands and parameters |
|
|
hello
what I would like in ahk is to create more commands and parameters in order to limit the size of the scripts
for example I have some hotstrings that I want them to work in specific circumstances
eg:
btw::by the way
ftw:for the win
etc
I want them to work only when the cursor is under specific control, or only if the cursor is IBeam, etc
I have to make an if statement, but I have to do it for each hotstrings, which results in too many lines
otherwise, I would like to put a 'if this happens' at the first line, then all the hotstrings, and last 'return' that will limit the 'if' only to the previous lines
thanks |
|