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.

Special Finds in FMP from an Applescript?

Featured Replies

  • Newbies

I am writing an Applescript which finds data in a FileMaker Pro 5 database. Mac OS 9.2.2

My question: Is it possible to do a search in Filemaker from an Applescript, which applies the functionality of Filemaker's Special Find Operators, such as the double equal "== " ?

For example in Filemaker if one does a search with a pair of equal signs (==) in front of the text being searched for, that search will return only exact "field content matches" for that search:

So a search for "== car"

would return only fields which contain only the word... "car"

and not would not return a field which contained... "car door"

Is there language to execute such a search from an Applescript in Filemaker?

Thanks All,

MK

PS:

I tried inserting the two equal signs into the search criterea inside Applescript as text...

show (every record of database "Data" whose cell "SearchField" is equal to "==" & _SearchText_ )

... this method failed.

_________________

M Kelly

This question was also posted at the MacScripter BBS

  • 4 weeks later...

have you tried this?

tell app "filemaker pro"

tell database "whatever database"

set myFind to create new request with data "==car"

find

end tell

end tell

You may have to add tabs to the beginning of the request, like " ==car".

I have found doing it like this, the script acts like you are actually tabbing through fields to get to the one you want, so you need to add tabs to get to the one you want, you can't call it by name (at least i think i can't).

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.