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.

Scripts not behaving

Featured Replies

Something odd is happening with my scripts ( FM 5.5, Windows 98).

The Following works fine :

Perform Script ( External:FileABC)

The external script is a simple one that selects a layout.

However the following doesn't work

Show Message

If ( Current(MessageChoice)=1

Perform Script ( External:FileABC)

Exit Script

EndIf

Go to layout DEF

With message choice 1, the script does change the layout in the ABC file, but the script continues to layout DEF in the original file.

I've used this type of routine umpteen times and don't recall any problems. Should I reinstall FM ? I know the files have not been damaged as they are always closed properly.

Many thanks

Hi:

This might not be working because you will need the script to end in the external file. At the end of the external script, but the halt script step in. See if that works.

Ken

Quote

Show Message

If ( Current(MessageChoice)=1

Perform Script ( External:FileABC)

Exit Script

EndIf

Go to layout DEF

With message choice 1, the script does change the layout in the ABC file, but the script continues to layout DEF in the original file.

end quote

Try it this way

Show Message

If ( Current(MessageChoice)=1

Perform Script ( External:FileABC)

Else

Go to layout DEF

EndIf

yup ! ken is absolutely right. from your script you are exiting the script in the def original file after you perform the external[file:abc].

so you need to get rid of exit script step which is at the below external script step.

regards,

kyle

hey chopper just beat me to it. now you got plenty help. you must be cute.

regards,

kyle

Just for reference;

the IF step should read

If ( Status(CurrentMessageChoice)=1

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.