Re: Check images in QX
Re: Check images in QX
- Subject: Re: Check images in QX
- From: Shane Stanley <email@hidden>
- Date: Tue, 04 Dec 2001 08:19:37 +1100
On 4/12/01 1:54 AM +1000, Alberto Salvagnini, email@hidden, wrote:
>
I am working on a script printing automatically ps-files.
>
The script works fine, only if some pictures in the document are missing
>
or modified I have a problem.
>
The script stops without giving an error and I just would like the
>
script going on sending a email to me with this error-message and
>
moveing the document to a special folder.
>
>
I tried like this:
>
>
try
>
tell document 1 of application "QuarkXPress"
>
print PostScript file (ZielOrdner & DokumentName & ".ps")
>
end tell
>
on error
>
sendmail using "mailhost" to "email@hidden" from ,
>
"ps-schreiben" with subject "Seite nicht OK" with body "I could
>
not print the document <<" & DokumentName & ">>"
>
move DokumentPfad1 to folder ArbeitsOrdner
>
end try
>
>
any idea?
That would be nice, but it doesn't work that way. You will have to check for
yourself whether the pictures are present and updated before you issue the
print command.
--
Shane Stanley, email@hidden