Quark syntax error, no idea why
Quark syntax error, no idea why
- Subject: Quark syntax error, no idea why
- From: Ken Tozier <email@hidden>
- Date: Mon, 9 Mar 2009 00:33:47 -0400
Hi
I have a very simple script I wrote a few months ago to replace the
dates in newspaper page folios. It worked perfectly then, but now,
using the exact same version of Quark on the same machine with no
upgrades, I'm getting compile errors and have no clue why. I've tried
every combination of syntax that seemed to make sense, but the thing
just won't compile. It keeps spitting out the error "Syntax error:
Expected end of line but found class name."
Here's the script. Any help figuring out where I'm screwing up greatly
appreciated.
property dummyString : "FOLIODAY, FOLIOMONTH FOLIODATE, FOLIOYEAR"
ReplaceFolioDates("Thursday, February 12, 2009")
on ReplaceFolioDates(inDate)
using terms from application "QuarkXPress"
tell application "QuarkXPress"
tell master document 1
set every text of text boxes of spreads where it is dummyString to
inDate
end tell
end tell
end
end ReplaceFolioDates
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden