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.

Password-dependent scripts

Featured Replies

Hi, Is it possible to write scripts that are executed once a specifc user has opened an FM6 file. I'm thinking of a script that will execute a zoom-to command for a specific user whose particular screen resolution will otherwise make the file hard to read? PMDA

Certainly. You can create a script that performs on opening of the file via File Options. In the script, you can use IF script steps to check the group they belong to using the Status(CurrentGroups) function. This function returns all the groups someone belongs to so you will have to use PatternCount to check for a group name.

  • Author

Hi. Thanks for your reply. I can't see how you can do this on FM6. The only thing I can see is the Edit > Preferences > Document option..which allows you to run a script on opening the document but doesn't let you assign different scripts to different passwords.

Regards

Paul MacD

use a script which checks the current account name and runs the right script based on that value, e.g.


If Get(AccountName)= "joe"

  Perform script X

else if get(accountName) = "sarah"

  perform script y

end if

(Apologies if I have the "Get()" function wrong-- I don't remember what it was called in FM6)

  • Author

Many, many thanks. Paul MacD

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.