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.

Exit all running scripts

Featured Replies

Is there a command to exit all currently running scripts? I know there's exit script, but if i'm 2-3 levels deep in scripts i want an easy way out.

Thanks

-j

Use Script Step "Halt"

  • Author

Does that just "halt" the current script or all scripts? And where does it dump me, just from that last step, or do i have to exit my script?

Thanks

-j

A "halt" statement halts all scripts and leaves you wherever you are when the statement is encountered. If you want to go to a particular layout/state/found set/etc., you must perform the script steps you need to accomplish this before executing the halt.

-bd

Exit Script - Exits current script and returns to previous script

Halt Script - Halts ALL scripts at current point

Personally I ALWAYS use "perform sub scripts", but it is possible just to chain sripts together by turning off this feature.

It's not a good practise to "Halt" a script, I don't do it because my scripts rely upon "proper" completion

I disagree with Mark. Halting all scripts is useful in some circumstances. I validate some of the user's answers in a script maybe 2 levels down. If an answer is wrong, he gets an error message and the script halts on the current layout, so he can fix the error. In this case, exiting a script is the wrong solution since the script above will continue processing.

When I don't want the script to continue until input is validated, I enclose the data entry in a loop with an Exit Loop If step.

  • Author

Thanks for all the replies. I want to use it because my FM checks e-mail at regular intervals. If it can't connect to the server to send the mail, i want it just to stop everything, other i could have the problem of it thinking that it connected and set everything to sent when it's not. I know i could set up a bunch of error scripts, but this is much easier. At at this point, no data has been changed except for a POP/SMTP result.

THanks

I found this subject line amusing.

Whether the script event being run is one of sub-scripts or one of scripts-chained-together, ScriptMaker is handling only one script event at a time. It is single-threaded. Put another way, there can be only one running script.

It is definitely true that you can have only one script running at time, but there might be as many as you want paused scripts. So halt would exit them all.

Dj

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.