Re: FW: Quark error's
Re: FW: Quark error's
- Subject: Re: FW: Quark error's
- From: Axel Luttgens <email@hidden>
- Date: Mon, 02 Dec 2002 12:41:30 +0100
Hans Schoenmaker wrote:
>
Darn,
>
>
>
>
>
>Problem 1
>
>----------
>
>If you take a look that QuarkXPress Applescript Dictionary in the save
>
>object you have [template boolean] so all you need to do is say "template
>
>no" at the end of your save line. ;-)
>
>
>
>EG: save document 1 in (theSavePath & FileName & ".QXP") template no
>
>
>
>
>
>
>
This gives me the error "expecting end of line... but found identifier"
>
>
>
Could it be that you have to use 'false' (or 'true') instead of 'no' (or
'yes')?
A boolean takes its values out of: false, true.
The message telling about "finding an identifier" could indicate that
AppleScript attempts to interpret 'no' as a variable or property name
(which could be set to a boolean value).
>
>
>
> Problem 2
>
>-----------
>
>Not really played around with EPS files alot... but the last time l did
>
>something it looked like this:
>
>
>
>repeat with i from 1 to pagecount
>
>save page i EPS format Mac color include preview "true" EPS data
>
>binary EPS OPI include images in (outFile)
>
>end repeat
>
>
>
>
>
>
>
Her I get exactly the same!!! This also gives me the error "expecting end of
>
line... but found identifier"
>
>
:-<
>
>
>
Could you indicate which part of your script gets highlighted because of
an error?
And also post the relevant entry of Quark's dictionary (I don't use QXP,
so...).
Axel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.