Would like to have an example AutoHotKey script that automatically runs a shortcut key(s) when a specific application is started/in foreground and then runs a shortcut when application is exited/minimized.
Any assistance would be appreciated.
------------