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.

For the purpose of learning

Featured Replies

I have created a script that sets the find/sort criteria according to one of 6 possible buttons, plus a default setting. It works, but just seems clunky and repetitive, and wanted a more experienced person to see if there is a cleaner, slicker way of doing the same thing. I was originally was going to use "Get(lastActiveObject)" to define what button was pushed until I found out that it does not work with buttons! The attached file basically just contains the script file.

Date_Calc_Test.zip

Hey Ray,

Use a script parameter instead. When defining your button, pick the script that you want the button to envoke and you will see a field on the bottom of the window to enter a script parameter. Then in your script, use the Get (ScriptParameter) function to test.

So, you can simplify the script to have something like

If Get (ScriptParameter) = 1

...

Else If Get (ScriptParameter) = 2

...

End If

It seems you could also group the common steps and place them OUTSIDE the If[] statement/s, instead of repeating them for each case.

  • Author

Cool, just cleaned out almost half my scripts!

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.