Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Closing a popup window using script

Featured Replies

Simply I have a popup window (new layout) that is opened by script called "OPEN" at the end of the script is the step "pause resume script {indefinitely]". This is intended to insure the window is closed properly before continuing, or that multiple windows are not produced if exited otherwise. A close button is used to execute the script called "CLOSE". This script is simply "close window (nameOfwindow)". The problem is the script step returns to the "OPEN" script waiting for the user to click on "continue" in the status window. How can this be avoided.

Close Window [ ]

Halt Script

Also, if the button is on the window, the window name isn't necessary, as the script will close the window on which it's focusing.

You can also use the popup (from Specify Button) on the Close button itself. If you change it to Halt, it'll work also. It depends upon what you wish to do after you leave the popup window and whether you use that other Close Window script for scripts which might need to continue after closing the window.

wink.gif

I don't know a way around the Pause script step, however, I suppose you could lock your main window in a layout with nothing on it, and then take it back to where it needs to go after they click the Close script.

  • Author

Attempted "halt scrip" no luck. The close button is on the popup. It clears the continue on the popup. What I failed to make clear is the "continue" appears in the originating layout status area after the popup closes. This where the open button is.

It seems that your OPEN script is paused, and no action is taken to put it out of its misery, so to speak.

You could make your OPEN script:

Pause / Resume script {indefinitely)

Close window (nameOfwindow)

Then set the closing button simply to Resume Script.

Alternatively, set the button to run the CLOSE script, AND to Halt current script.

  • Author

Finally, Halt did the jod, I had a sub-script (within OPEN script) that needed attention as well, Thank you all.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.