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.

Dont run ext. script if external file is not open?

Featured Replies

If I have a file with a script that is set to run an external script in another file, is there any type of IF calc that can be used so that if the other external file is not currently open, the external script wont be run?

Right now, if I run the script with the external call, the other file is opened and the external script in that file is run. I only want it to run if the other file is already opened.

LR

Use

PatternCount (DatabaseNames, "FielName")

so the script coulld look somehow like this

If(PatternCount (DatabaseNames, "FielName"))

Perform Script [External Script]

else

Exit Script

End if

HTH

Dj

smirk.gif

  • Author

PatternCount (DatabaseNames, "FieldName")

Did not work. Am I missing some quoation marks?

PatternCount ("DatabaseNames", "FieldName")

LR

DatabaseNames is the name of the function you'll find in Design Function Section of available functions.

FileName should be the name of the file the presence you want to check.

This could be hardcoded string or it could be passed as an value from the field.

HTH

Dj

When he wrote "FielName", he didn't mistype "FieldName", he mistyped "FileName".

But what he *meant* was for you to put the name of your file in that spot.

DatabaseNames should not be in quotes... its the name of a built-in function.

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.