Re: Check for missing images in Quark4
Re: Check for missing images in Quark4
- Subject: Re: Check for missing images in Quark4
- From: Ben Waldie (AppleScript Guru) <email@hidden>
- Date: Mon, 3 Feb 2003 18:26:46 -0500
William,
On Monday, February 3, 2003, at 03:33 PM, Wallace, William wrote:
>
If you take the time to count these up, you'll see there are 43
>
booleans in
>
the list (four of which are false) indicating that the count of every
>
image
>
is 43 and that 39 of the images are missing. However, If I open up
>
Quark's
>
usage dialog manually and count everything up, I find that there are,
>
in
>
fact, 47 images in the document and 39 of them are missing. My guess
>
is that
>
it has something to do with the images on the master pages (because
>
the only
>
images that are not missing in either case are on master pages), but I
>
have
>
no idea why some would count and others would not.
Yes, it's because these images are located on master pages. In the
script you provided, you were addressing "document 1". Master pages
need to be handled differently. To get into from the master pages, you
need to address "master document 1". I.e.,
tell application "QuarkXPress"
tell document 1
return count images
end tell
-- OR
tell master document 1
return count images
end tell
end tell
>
Also, once I determine that an image is missing, is there anyway to
>
update the link
>
(provided of course I know where the image actually is) via
>
Applescript?
Well, even if the image is missing, you should still be able to
determine its path...
file path of image 1 of document 1
So, using the file path, you may be able to mount the server or disk
the image resides on if that's why it's missing. Or, you could try
locating the image and moving it into the same folder as the Quark doc,
which will help the Quark doc to see it. Another option would be to
replace the image in the picture box, using the new path to the image
if it's been moved.
Hope this helps,
- Ben
Benjamin S. Waldie
AppleScript Guru
AppleScript Info -
http://www.applescriptguru.com
AppleScript Training -
http://www.applescripttraining.com
_______________________________________________
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.