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.

Checking a script exists externally

Featured Replies

Is there any way of checking to see whether a script exists or not using a vbasic script (or similar)?

At the moment I'm thinking of running the script and immediately checking the status (ScriptStatus) for a return value of 2, but I feel there ought to be a better way of doing this.

Is there?

I'm using FM6 for this at the moment, but I don't think the automation has changed much since then, has it?

Many thanks.

"status (ScriptStatus)"

I don't remember this in FMP 6.

Why not use the ScriptNames( filename ) function?

Could capture errors in your script. just call the filemaker script and if it is not there it should generate an error. I have rarely done this but is possible. In vbs the command is "ONERROR (something)"

OnError Resume Next just ignores the error or I believe you can call a sub function to preform whatever actions you want.

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.