custom autohotkey utility functions