Unfortunately, no, not in this version of the program. That's the main reason why I'm writing a new interpreter with a new script language. I've been working on it this weekend. In the meantime there are work arounds as you obviously discovered. :)[/quote]Quote:
Originally Posted by Wolpak
Actually, you are wrong, kinda. While Freddie is smart, HotKeyNet is stupid. Literally, and fairly easy to trick. Just tested this out and it works.
NP is Notepad and F1 opens up the help box.Code:<Label NP local sendwinm NP>
<Hotkey f2>
<setVar test test>
<Hotkey f1>
<If test is test>
<sendlabel NP>
<DoHotkey hotkey f3>
<HotKey F3>
<If ActiveWinIs NP>
<sendlabel NP>
<Key F1>
So, hitting F1 after I load the script does nothing. Hitting F1 after hitting F2 does nothing. Hitting F1 while NP is the active screen opens up notepad. So, to nest if you have to create a new hotkey. Not a big deal if you then use modifiers since you are just sending that hotkey to hotkeynet.
What does this mean? Well, it allows me to get around Toggle and use setvar and hopefully it will allow me to target any unit frame and know exactly who it is to heal or whatever based on party position. Of course, it will be fairly complciated code, but I think I like setting stuff up more than actually playing the game.