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.

Script That Knows Users Names

Featured Replies

Is there a Line Item in a script that can tell the script who is logged in.

Let me explane this a little more:

I want to make a script that is an If else statement

If [john] is running the script -- then do this

else do this.

can this be done?

Help

Joseph

The calc'function Get(Username) comes to mind smile.gif

--sd

Joseph:

Create a script using the Status(CurrentUserName) if you are running version 6 or replace it with the corresponding "Get" on FM Pro 7. You can add nested if's inside the Else part for more users.

if [

  • Author

Thank you to you both...

That worked...

Joseph

  • 2 months later...
  • Newbies

Thank you. I was also creating a start up script that would take the user to their respective menu, one menu for an administrator another for a user and I was trying to use "or" to separate the user names but it wasn't working. I did what you seggested and "put each name in a separate line and it worked. Thanks

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.