Run a script when switching from one window to another.

Discussion created by KylePutzier on Aug 14, 2012
Latest reply on Nov 4, 2017 by xenophon61

Is it possible to run a script when the user switched from one window to another by simply clicking on it?

My program has a navigation routine that normally handles window switching, but it is possible to switch to a background window by just clicking on it. When this is done, it leaves my navigation routine in an obsolete state. It's not catastrophic, just annoying.