droosan Posted December 4, 2001 Share Posted December 4, 2001 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 More sharing options...
Thom Posted December 4, 2001 Share Posted December 4, 2001 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. Link to comment Share on other sites More sharing options...
droosan Posted December 5, 2001 Author Share Posted December 5, 2001 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! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8192 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 accountSign in
Already have an account? Sign in here.
Sign In Now