|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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
Jan,
take care about what you try to compare in the if statement! See the comments in the script.
Peter
_______________________________________________ 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
| References: | |
| >Get back color propertie (From: Jan Bultereys <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.