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.

Is there a use for the get(Scriptname) function?

Featured Replies

I figure there must be something cool to do this this but ... don't I already know what the name of the script I am in is? ... or does it return the parent script name so you know where you came from ... but that is what passing paramenters is for.

Anyone know a great trick for this function?

Charles

FileMaker Version: 7

Platform: Windows XP

in the past I would use it as a variable. Same script duplicated many times w/ a different Variable. Then I would parse the script name to do thing. I just build the master script once. But as you mention now that we can use parameters I am scratching my head as to what I would use this for?

I have a file that has a number of scripts that are scheduled to run every 20 min. If I have an error I send an e-mail to myself with the scriptname in the body of the email and details about were the error occured. Helps me track down the error.

Brian

I used this in FileMaker Pro 6 in the access priviliges. e.g. Delete "by calculation".

If (patterncount(Status(currentscriptname);"DELETE"); 1 ; 0 )

So when a user is logged in, he can only delete a record by a script with "DELETE" in his name.

You can also use this in FileMaker Pro 7, but I guess that in most situations the option "run with full access privileges" will overrule this technique.

Koen

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.