Switching windows in scripts
When necessary, pre-7.0 versions of FileMaker Pro would automatically change the active window after running a script. This automatic windowing behavior is no longer supported because script writers can use the Select Window script step to set the active window.
To emulate the behavior of pre-7.0 versions, during file conversion FileMaker Pro 10 automatically inserts Select Window script steps after certain Perform Script and Go to Related Record script steps. To achieve the windowing behavior you want, you may need to insert or delete Select Window script steps.
Related topics 
Select Window script step