Jump 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.

Featured Replies

  • Newbies

I am trying to create a button that deploys a script that opens a corresponding server folder based on the value in a particular field of the current record card. Here is what I have so far, but I can't figure out why it is not working:

Set Variable [ $jobno ; Value: Project File Server Locations::_4_digit_Job_No. ]

If [ $jobno ≤ "100" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0001 - 0100" of disk "TRG Projects" end tell" ]

Else If [ "100" < $jobno ≤ "200" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0101 - 0200" of disk "TRG Projects" end tell" ]

Else If [ "200" < $jobno ≤ "300" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0201 - 0200" of disk "TRG Projects" end tell" ]

Else If [ "300" < $jobno ≤ "400" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0301 - 0400" of disk "TRG Projects" end tell" ]

Else If [ "400" < $jobno ≤ "500" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0401 - 0500" of disk "TRG Projects" end tell" ]

Else If [ "500" < $jobno ≤ "600" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0501 - 0600" of disk "TRG Projects" end tell" ]

Else If [ "600" < $jobno ≤ "700" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0601 - 0700" of disk "TRG Projects" end tell" ]

Else If [ "700" < $jobno ≤ "800" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0701 - 0800" of disk "TRG Projects" end tell" ]

Else If [ "800" < $jobno ≤ "900" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0801 - 0900" of disk "TRG Projects" end tell" ]

Else If [ "900" < $jobno ≤ "1000" ]

Perform AppleScript [ "tell application "Finder"     activate     make new Finder window    set target of Finder window 1 to folder "Projects 0901 - 1000" of disk "TRG Projects" end tell" ]

End If

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.