3 Replies Latest reply on Feb 20, 2017 10:14 PM by user19752

    Launch Script when CLOSING a window.

    user28271

      I know you can launch script automatically when a user exits a layout.  But I need to launch a script when a user CLOSES a specific window.

       

      I want to set a $$variable if the user close the Main Menu layout.

       

      I tried the File Option: OnWindowClose to launch a script that IF (Get(WindowName)="Main Menu") set Variable $$MM=1.   But it is not working.

       

      Any thoughts?