• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quark 7 - Get picture box number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quark 7 - Get picture box number


  • Subject: Quark 7 - Get picture box number
  • From: Oakley Masten <email@hidden>
  • Date: Wed, 16 Sep 2009 08:34:39 -0700 (PDT)

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 every picture 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

end tell


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

  • Prev by Date: Preference Files
  • Next by Date: Re: Preference Files
  • Previous by thread: Re: Preference Files
  • Next by thread: Quark 7 - Get picture box number
  • Index(es):
    • Date
    • Thread