Hey all; I was wondering if anybody has had success pausing/stalling a script until a certain control is clicked. I'm writing a hotkey script for a program, but I only want the hotkeys active when you get to a certain editing mode in the program. You activate and deactivate this mode by clicking two different controls, so I'd like to write into the script a loop that waits until that control is clicked, activates the hotkey script, then deactivates when the second control to exit the edit mode is clicked. Anybody have any ideas how this might be done?
Thanks in advance.