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.

Updating script for new FM version

Featured Replies

I HAVE NO EXPERIENCE WITH APPLESCRIPT. Does anyone know how I can modify this script to make it work in FM7? We recently upgrades from FM6 and our tech person no longer works here. I tried just changing all "fp6" references to "fp7" and the script seems to be running, but all I get is FM6 application opening up with no file. My goal is to get our file (which has been upgraded to fp7) open in FP7, using the script. Sorry if this is confusing! Here is the old script:

try

tell application "FileMaker Pro"

getURL "FMP5://oipserver.uoregon.edu/OpenDatabases.fp5"

end tell

on error error_message number error_number

if error_number is -10000 then

display dialog ¬

"FileMaker will attempt to use the Backup Databases."

try

tell application "FileMaker Pro"

getURL "FMP5://oipbackup.uoregon.edu/OpenDatabases.fp5"

end tell

on error error_message number error_number

if error_number is -10000 then

display dialog ¬

"Backup database isn't available!"

end if

end try

else

display dialog ¬

"You received an unknown error message. Please contact your system administrator."

end if

end try

tell application "FileMaker Pro" to activate

AppleScript actually stores some things hidden from you when it compiles a script. So it tends to remember what version you first compiled a script with. It also can get confused if you have 2 versions running.

"FileMaker Pro" could be either of them.

So, quit FileMaker 6 and launch FileMaker 7.

Copy this script, paste into a new AppleScript document. Change all the fmp5 to fmp7. Compile and save the script.

If you still have trouble you might consider just using a FileMaker "opener" file, which would not have this problem.

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.