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.

Open Folder in Finder with Applescript via Filemaker

Featured Replies

  • Newbies

I can open a folder in Finder just fine by executing the following AppleScript:

tell application "Finder"

activate

set my_folder to "Volume:Sample Folder:"

open folder my_folder

end tell

My problem is... In Filemaker, I have a script that uses Troi's File Plug-in to search for a particular Folder and the resulting path is placed in "gSearchResults" which is a global text field. from there, I perform an AppleScript to goto finder and open the folder. However, the following gives me the error: "The variable gSearchResults is not defined. (Error -2753). I'm new to AppleScript, what is wrong?? All I want to do is to open a folder in finder from FileMaker. Is there a better way?

tell application "Finder"

activate

set my_folder to gSearchResults

open folder my_folder

end tell

Thanks for any help!

first, you have to put the content of gSearchResults in a variable.

tell application "FileMaker Pro"

set my_folder to cell "gSearchResults" of current record

end tell

then, ask the Finder to open the folder :

tell application "Finder"

activate

open folder my_folder

end tell

Jean-Marie -HOO;-)

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.