I'm pretty sure that type of script is against the TOS/EULA and should not be used. You should not be introducing delays between sending of keys as it is considered automation. Casting my treants would be easier if I hit the button for the spell, had it delay 500 ms, and then sent a mouse click to position them, but the end result is I pushed one button and got two distinct actions.

HotKeyNet is an absolutely wonderful program and I implore you to only use it within the rules. The program could be turned into a botting utility which would be a huge shame to those of us who use it properly.