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

Opening a file path

Featured Replies

Hi,

Back in the days of FMP5 I developed a script, that worked with a MAC OS applescript, to open the folderpath contained in a field (creativly entitled) "FolderPath". It would enable a user to quickly recall a archived folder (i.e. their work for a specific day) and then let them select the files of their choice to open etc

Now I'd like to do the same, but in FMP7 and XP. I'm not sure where to start. I would appreciate any suggestions.

with thanks in advance

Giles

The syntax is: cmd.exe /c explorer c:FolderSubfolder

You can also specify a network folder ny using: servernameFolderetc.

or

serverIPaddressFolderetc.

When using the network folder option, the user must have access rights to that folder. If using a local drive folder, the folder must exist, or the user will get an error message that cannot be trapped by FileMaker.

Create a calculation field that creates a text line where you can use another field for the folder path.

The in the script, Use the send message script step then specify your calculation field.

This will open the command prompt window, tell Explorer to open the specified folder, then close. If you check to "bring target application to foreground", the folder should remain open on top of the FileMaker window.

As part of your script, check for the OS:

If [Abs(Status( CurrentPlatform )) = 1]

{run applescript for MAC}

Endif

If [Abs(Status( CurrentPlatform )) = 2]

Send Message [calculation field]

Endif

  • Author

Thanks for that ... works a treat!!

Best Giles

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.