Re: QuarkXpress image properties
Re: QuarkXpress image properties
- Subject: Re: QuarkXpress image properties
- From: Shane Stanley <email@hidden>
- Date: Thu, 09 Oct 2003 09:11:04 +1000
On 9/10/03 7:47 AM +1000, Brian Binotto, email@hidden, wrote:
>
We get QuarkXpress 5 files from a client who will have both EPS and
>
Jpeg images placed. We replace the Jpeg images with EPS images we
>
create here before going to our RIP. What has happened is that the
>
person replacing the images in the Quark file may miss a few of the
>
Jpeg images. These LoRes Jpegs are then Ripped within the page and
>
have gone to press. making the customer quite irate.
>
>
I need to find a way to set the Jpeg images in QuarkXpress to missing
>
without changing the EPS status to missing.
>
>
With the way our jobs and folder structures are setup I can not just
>
delete the Jpeg files from the server. I would like to change the
>
properties of the Jpeg images in QuarkXpress to set the missing
>
property to true rather than false using an Applescript.
>
>
Below is a snippet of the script I have written. When I run it I get
>
the error:
>
>
"QuarkXPress got an error: Can't set properties of every image of
>
document 1 whose file type = JPEG picture to {missing:true}." -10006
>
>
tell application "QuarkXPress"
>
tell document 1
>
try
>
set x to every image where file type is JPEG picture as list
>
set properties of every image where file type is JPEG picture to
>
{missing:true}--this is where it errors
>
on error errMsg number errNum
>
display dialog errMsg & return & return & errNum
>
end try
>
end tell
I suspect the missing parameter is read only; the dictionary should confirm
that.
But this seems a long way about things anyway. Why not just have a script to
check if there are any jpegs left after they've supposedly all been
replaced:
exists image 1 whose file type is JPEG picture
--
Shane Stanley, email@hidden
_______________________________________________
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.