Jump 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.

Automatically End a Script in Progress

Featured Replies

I have a script that changes to a "find" layout. If the find is performed the script works fine. However, if the user inadvertently runs the script and then does not perform a find but instead runs a different script, the script is stuck in the paused condition, requiring the user to click either Continue or Cancel.

Is there a way to make the script end if it is interrupted in the middle? Here is the script I am using:

Go to Layout ["Find Records"(STATS)]

View As [View as Form]

Set Zoom Level [150%]

Enter Find Mode [Pause]

Perform Find []

Go to Layout ["Tabbed Form"(STATS)]

View As [View as Table]

Set Zoom Level [100%]

Thank you,

Kevin

If you don't want the user to be able to click a button to run another script during the scripted Find procedure, then create a custom layout for running this script. This layout should include search fields but not the button for the other script.

If instead, you want to keep that button on the layout, then add a "Enter Browse Mode" to the start of the script called by that button. This will get you out of Find mode and terminate the "paused condition".

  • Author

Thanks very much, mfero. I need all the help I can get!

Have a great weekend.

Kevin

Create an account or sign in to comment

Important Information

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

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.