Re: update images in Quark
Re: update images in Quark
- Subject: Re: update images in Quark
- From: email@hidden
- Date: Fri, 2 Aug 2002 01:44:53 EDT
In a message dated 7/30/02 Keith <email@hidden> writes:
>
Please bear with me as I'm starting out scripting Quark. My dilemma is that
>
I have several hundred eps files that need to be placed into 51 Quark
>
documents. I've already scripted the process of saving out the pages as eps
>
files from the master Quark files. I now need to update the target files
>
with the new, eps files.
>
>
Each Quark file has a separate folder with a support sub folder that houses
>
the EPS files as well as the target Quark file. I need to be able to
update the links in Quark.
There's a couple of ways to script this. The quick-and-dirty way is to write
a script that opens a document, sets auto picture import to true and closes
the document again. Next time you reopen, all of the modified images update
automatically.
A more elegant way is to loop through all of the picture boxes in a document.
If the "modified of image 1 is true and missing of image 1 is false" then you
extract the properties of that image (scale, offset, file path, etc.) and
then set image 1 to the file path and reapply all of the original properties.
In other words, there's no simple script command to say "update this image,"
so you have to go the long way around and replace the image.
In a message dated 7/31/02 Michiel (werk)" <email@hidden> writes:
>
When I do something like:
>
set trueorfalse_list to modified of image 1 of every picture box
>
I get a list with something like {true,false,false,true}
>
but quark says that ALL files are updated??
>
>
The information that I get from 'modified of image' doesn't match with
>
the regular menu 'Usage'.
As I recall, this was an issue in versions of Quark up to 4.11. If a document
were copied from one disk to another, images that were really OK reported
themselves to be modified in a script. If you can't use 4.11, then you have
to re-import the image even if it doesn't really need it.
HTH
Robert Kyle
Star Tribune
Minneapolis
_______________________________________________
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.