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

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

Recommended Posts

Posted

I copied a filemaker database "Data 13" and renamed it "Data 14" with all of it's scripts and layouts. I needed to change the name of the
database in the script to "Data 14".


Here is the script:


tell application "FileMaker Pro"
   tell document "Data 14"
        set spotPath to cell "SPT_PTH" of current record
    end tell
end tell

tell application "QuarkXPress"
    set spotPath to spotPath as alias
    activate
    open spotPath use doc prefs yes
end tell


Now I keep getting this error: "Expected end of line, etc. but found identifier." on the word "use" in the script when I hit ok.

The script still works in the "Data 13" Database. Any help?

Thanks

Rob

 

Posted

What's in the SPT_PTH field? Could be a data problem.

Posted

What's in the SPT_PTH field? Could be a data problem.

It is just a field in the Filemaker database.

 I am updating a few applescripts and they all seem to be erroring out on the QuarkXPress Tell.

Posted

I assumed it was a field, and not a potato or something.

My question was: what data is in the field?

Posted

tell application "FileMaker Pro"

 

Are you running FMP Advanced?

This topic is 4308 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.