I have written two functions in an AutoHotkey script:
fun2(). I now need to bind
fun1() to when Pause is pressed down, and bind
fun2() to when Pause is released.
As an example, I would press and hold Pause to hide all windows, and release Pause to restore all windows. (This example is not my actual objetive).
How can I do that in AutoHotkey?