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.

Newbie here. How do I open a db and run a script

Featured Replies

  • Newbies

Hi,

I am not that familliar with Applescript and what it can do. I would like to open a database and then run a script within it.

Any help would be greatly appreciated. So far I have managed the following:

tell application "FileMaker Developer"

open database "MyDatabase"

do script "MyScript"

end tell

When I try to run it I get:

Applescript error

FileMaker Developer got an error: Unable to coerce the data to the desired type.

Help!!! confused.gif

Not open "database", but

open alias "the full path"

or

open file "the full path"

the full path, example : "Macintosh HD:Users:Me:Documents:FileMaker doc's:Mydatabase.fp7"

  • Author
  • Newbies

Thanks for the quick response. Will try in the a.m. and let you know grin.gif

  • 2 weeks later...
  • Author
  • Newbies

Just ried it out and it works a charm. smile.gif

Thanks for your help!

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.