• 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
Get back color propertie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get back color propertie


  • Subject: Get back color propertie
  • From: Jan Bultereys <email@hidden>
  • Date: Tue, 19 Dec 2006 12:22:00 +0100
  • Thread-topic: Get back color propertie

Title: Get back color propertie
Hi,

First one works 2nd one doesn’t work:
I don’t know how to talk to picture box 1 to get the color back.
Ideally would be to put it later into a variable.

--- works ---
tell application "QuarkXPress Passport"
    tell document 1
        activate
       if color of picture box 1 is color spec "Cyan" then beep 3
    end tell
end
tell

--- don't work

tell application "QuarkXPress Passport"
    tell document 1
        activate
       tell picture box 1
            if color is color spec "Cyan" then
               beep 3
            end if
       end tell
   end tell
end
tell

Many thanks for any feedback
Jan
 _______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Get back color propertie
      • From: Peter Waibel <email@hidden>
  • Prev by Date: Re: Mail.app scripting is very unreliable....
  • Next by Date: Re: Get back color propertie
  • Previous by thread: Re: Scripting shadows in CS2 text layer
  • Next by thread: Re: Get back color propertie
  • Index(es):
    • Date
    • Thread