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.

External script variable?

Featured Replies

I'm using a script to control access to a data-only file to insure that data is entered through the interface file. If a user opens the data file instead of the interface file, they find a blank layout with a brief explanation and a button to take them to the interface file. The script for this button is in the interface file, not the data file. Since I have several such data files (each storing quite different info used by different persons for different purposes), I'd prefer to have only one such script to keep track of in the interface file. So my question,

Is it possible to specify that the file from which the script was called (via button click) be closed *without designating the name of the file*?

I can do it easily if I specify the name of the data file, but then I must have a separate script for each such file. The "close [current] file" option references the *interface* file, so I assume that will not work.

Thanks,

decker

  • 2 weeks later...
  • Author

I've never gotten any reply on this, nor figured out the answer myself. Any suggestions? (Is it clear what I'm trying to do?)

That's what script parameters are for. If you look at the button definition, there is a place to put script parameters. You would enter get(Filename). This get passed to the calling script. Then you main script would say, if script parameter = this, do that..

  • Author

BruceR said:

That's what script parameters are for. If you look at the button definition, there is a place to put script parameters. You would enter get(Filename). This get passed to the calling script. Then you main script would say, if script parameter = this, do that..

Hmm. I'm glad to know there's a way to do it... but I've tried several different things to figure out your suggestion, but to no effect. I'm obviously missing something or not understanding this. Could you (or someone) spell this out in more detail. I'd appreciate it much.

decker

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.