Jump to content

Running a script in a related file.


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

Recommended Posts

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.

Link to comment
Share on other sites

This topic is 7264 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
 Share

  • Who Viewed the Topic

    1 member has viewed this topic:
    Ocean West 
×
×
  • Create New...

Important Information

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