Broken Filemaker 11

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.
I have to modify a few scripts but they all error out on the QuarkXPress Tell.

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

Thanks
Rob

Browser: Firefox 16.0
Operating System: Mac OS X (10.5)

Hi Rob,

looks like there could be some problems with Quarks dictionary see this http://forums.quark.com/p/20737/83351.aspx

I had a problem compiling your code so I quit Quark and AppleScript Editor then relaunched Quark and then relaunched the AppleScript Editor, pasted your code into a new document and it compiled!

Hope this helps,
Nik