Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8393 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

It seems that there is no way to call a script in another file from a script in the active file, except via AppleScript (on a mac). Feel free to correct me.

Therefore, being the AppleScript Wiz that I am not, I tried this:

tell application "FileMaker Pro"

tell document "Pages"

do script "Update All Pages"

end tell

end tell

When I run this run from script editor, FM bounces off the dock, I click on it and "Update All Pages" runs correctly.

When, I run it from a FM script in a file related to "Pages", it gives a error: FileMaker Pro got an error, Object not found (Error -1728)

Any Ideas?

Thanks in Advance.

Posted

Choose External Script under Perform Script in ScriptMaker. You should be able to run scripts in any other FileMaker files to which you have adequate access, related or not.

Posted

Duh...

I just looked at "External Script..." the other day and thought, "wonder what that does?", and went on with what I was doing.

Thank you, it solve that problem, and bunch of other long standing ones!

This topic is 8393 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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