jvanegmond/hotstrings — pull request #2 by dgm3333 (2014-10-17 10:53:51+00:00)
Title: Added functionality...

Added globals to hotstrings.au3
Global $HotStringPressed	; contains the typed sequence (allows called functions to access it - similar to @HotKeyPressed in autoit core)
Global $hotStringTimer	; allows monitoring of delays between keypresses (so if there is too long a delay between keypresses the sequence is restarted (this stops accidents like typing something at then end of a line, then pausing and restarting with something which completes a hotstring)
Global $hotStringMaxInterval = 1500	; allows monitoring of delays between keypresses (can be changed by user)
Global $hotStringActive	; stops hotkey sequences from triggering other hotkey sequences

Also added some helper functions (which gives ability to call a function with a hotstring, or limited replacement of special strings (eg date/time), or pauses between keypresses, or prevents deletion of typed text using {NODEL}).

And another example file to demo these changes