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.

reveal file in finder

Featured Replies

hopefully this should be easy ..

i have database that plays a soundfile via quicktime using a script which basically uses a field as the filepath. now all i want to do is write a script which shows that file in the finder ,basically a "reveal file" function .

any ideas

thanks

paul apted


tell application "Finder"

activate

reveal myfilepath

end tell


  • 9 months later...

FYI - I was going to ask how to handle the quote and then I came up with this. Note 'qut' is a global field with one straight quote in it. And the substitute function to help keep it clean. Also I found that quotes are required around the path (osX).

Substitute(

"tell application ^Finder^

activate

reveal ^" & SourcePath & "^

end tell",

"^", qut)

You don't really need to worry about handling the quote. I normally put the whole applescript (quotes and all) into a global field (gScriptCode) in this kind of "merge field" format:

tell application "Finder"

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.