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 screen script looping twice ????

Featured Replies

Ok i have a closing script that loops twice for some reason it should only run once i have type it below

when i say loops twice i mean it goes to the About screen then the Thank You screen,back to the About screen and again to the Thank You screen then it closes the template

Allow User Abort [Off]

Allow User Abort [Off]

Close[Codes]

Close[Large]

Close[Pub]

Close[sheet]

Sort {Restore,No Dialog]

Show All Records

Go To Layout[About]

Pause/Resume Script[0:00:02]

Go To Layout[Thank You]

Pause/Resume Script[0:00:02]

Close[Main Menu]

if it is the second pause resume script then how should it be written

any help would be appreciated

What file calls the closing script? Is it possible that more than one file has this script?

Mike

  • Author

The file main menu runs the script and then closes it self

The about layout is in the main menu file and so is the thank you layout

the Close,Large,Pub & Sheet files only have a relationship to the main menu file

maybe you have you set in the doc preferences to perform the closing script when the file is closed BUT the script is performed when clicking a custom close button you have made.

if so, when you close manually the file the script is called just one time. But when you close the file with your custom close button the script is called twice.

It is called the first time from the button, the second time when script maker performs the Close[Main Menu] step.

  • Author

How stupid could i have been that was exactly what it was. It was right in front off me and i did not see it sorry if i wasted anyones time.

"How stupid could i have been that was exactly what it was. It was right in front off me and i did not see it sorry if i wasted anyones time. "

Don't worry!! Forums exists for that kind of problems too!

Btw: it's interesting that you can set a closing script in the doc preferences and put Close[] in that script without FM entering in a loop!

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.