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.

Detecting paused script

Featured Replies

Is there a way to detect a paused script? Or prevent a script from being run based on whether another script is paused?

I inherited a solution that has about 15 scripts in the Scriptmaker drop down. There are several scripts that pause for user entry. Sometimes when a user is paused, they will lose focus and run another script which often dumps them somewhere they don't expect/shouldn't be (usually in a find layout but in browse mode).

I'd like to stop this from happening with the least amount of effort. Ideas?

Thanks,

DJ

Create a global field.

Populate the global field at the start of each script after first checking to see if it is already populated.

If it is, issue a message to say that another script is already running and then exit the new script.

At the end of every script set the global to "".

I cannot guarantee this method as I haven't tried it but I cannot see why it shouldn't work

Phil

Edited by Guest

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.