| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| dear friends Been tring to teach my self applescript and this bit with the calculator has me frustrated. The command "exists" seems to work and returns me a "true". Trying to click, press the number buttons just returns an error message. this is the applescript, can anyone suggest how to make it function? thanks Gordon Beckhart tell application "Calculator" tell application "System Events" tell application process "calculator" tell window "calculator" exists button "9" of group 1 --exists button "Clear" of group 1 --click button "9" of group 1 --press button "plus" of group 1 --press button "5" of group 1 --press button "equals" of group 1 end tell end tell end tell end tell s |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/mailman//archives/applescript-users This email sent to email@hidden
| Home | Archives | FAQ | 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 © 2007 Apple Inc. All rights reserved.