| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
this works:
tell application "Calculator" to activate
tell application "System Events" to tell process "Calculator"
tell group 1 of window 1
click button "Clear"
click button "9"
click button "plus"
click button "5"
click button "Equals"
end tell
keystroke "c" using {command down}
end tell
set x to (the clipboard) as number
_______________________________________________
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| 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.