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.

Finder Script Function

Featured Replies

  • Newbies

Can I have arguments in a Finder script function? This script doers what I need done but I have to define the $trip and $pref manually. It would be really nice Finder would use that arguments. If I specify the arguments in Finder they show as text.

Show All Records

Set Variable [ $trip; Value:1 ]

Loop

Set Variable [ $pref; Value:1 ]

Loop

Enter Find Mode [ ]

[ Pause ]

#How can I make $pref and $trip be arguments to the Find?

Perform Find [ ]

Enter Browse Mode

Pause/Resume Script [ Indefinitely ]

Set Variable [ $pref; Value:$pref + 1 ]

Exit Loop If [ $pref ≥ 7 ]

End Loop

Set Variable [ $trip; Value:$trip + 1 ]

Exit Loop If [ $trip ≥ 15 ]

End Loop

All you need to do use Set Field like so:

Enter Find Mode

Set Field[ whatever; $pref ]

Set Field[ something; $trip ]

Perform Find

Don't specify any arguments for the Enter Find or Perform Find steps.

I don't see what it accomplishes to perform these Finds one after the other, though. What are you trying to end up with?

(PS: I'm glad you included your actual script, because your question was a little hard to follow. (Finder? That means something else on a Mac.))

  • Author
  • Newbies

Thanks. I had a hard time with the Set Variable using ScriptMaker.

I am coordinating field trips for a conference. Each group is allowed 6 preferences and there are 14 trips. With the script it is now easy to know how many groups and people are in each trip/preference combination.

An array would be perfect. Ah for Fortran or assembly code.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.