Quark 7 - Get picture box number
Quark 7 - Get picture box number
- Subject: Quark 7 - Get picture box number
- From: Oakley Masten <email@hidden>
- Date: Wed, 16 Sep 2009 08:55:43 -0700 (PDT)
Sorry but the code was not all bunched together when I sent it the first time.
Hope this comes thru better.
Oakley
Greets All
I am trying to get the same data that the Quark/Utility/Usage/Pictures does via
AppleScript.
This Works but I need to get the picture box number from the MissingImageList.
I want to use it to select the pBox and relink it.
tell application "QuarkXPress"
tell document 1
set MissingImagesCount to 0
tell spread 1
set selected of everypicture box to false
set MissingImageList to every picture box whose image 1 is missing
set MissingImagesCount to number of items in MissingImageList
(* --this part does not work
repeat with x from 1 to MissingImagesCount
set PBoxNumber to picture box number of item x in MissingImageList --Bad Line of code
display dialog "Pict Box Number of Item " & x & " is " & PBoxNumber
set selected of picture box PBoxNumber to true
tell me to ReLinkthePicture{}
set selected of picture box PBoxNumber to false
end repeat
*)
end tell
end tell
display dialog "Missing Image Count is <" & MissingImagesCount& ">" buttons {"OK"} default button "OK" giving up after 60
endtell
Thanks for any insight on this one.
Oakley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden