Re: update picture
Re: update picture
- Subject: Re: update picture
- From: Hans Haesler <email@hidden>
- Date: Tue, 24 Jul 2001 00:03:56 +0200
On Mon, 23 Jul 2001, Paul Abney wrote:
>
What would a script look like to update all modified pictures in Quark 4.1?
Paul,
now... this script would loop through all picture boxes, store the file
path and all attributes, load the image and re-apply the attributes.
Up to you to load every image (modified or not) or to get the status,
first, and load the image only if it is modified. But don't rely on the
'missing' and 'modified' properties. Get the modification date of
the image which is stored in the XPress document, get the modification
date of the image file, compare them. If they are different then the
image is 'modified', if you can't get the info from the image file then
the image is 'missing'.
I have done a similar script, not so long ago. Please come back if
you'd like to get it.
BTW, I hope that you're using version 4.11. Else, do yourself a favor
and get the update...
Regards,
Hans
---
Hans Haesler | email@hidden