Check for missing images in Quark4
Check for missing images in Quark4
- Subject: Check for missing images in Quark4
- From: "Wallace, William" <email@hidden>
- Date: Mon, 3 Feb 2003 14:33:04 -0600
The following script:
set missingImgRec to {}
tell application "QuarkXPress(tm) 4.11"
tell document 1
repeat with i from 1 to count of every image
set missingImgRec to missingImgRec & missing of image i
end repeat
end tell
end tell
yields the following result:
-->{true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, false, false, true, false, false,
true, true, true, true, true, true, true}
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. Or is it the "count of
every image" line that's the problem? Anybody have any insights? 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?
-whw
PS - Quark 4.11, Applescript 1.8.3, MacOS 9.2.2
_______________________________________________
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.