| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Oct 27, 2006, at 12:50 PM, Philip Aker wrote:
### package require Tclapplescript rename AppleScript ascr
set pstate [ascr execute { set pstate to missing value tell application "iTunes" set pstate to get player state if (pstate is stopped) then -- many lines of code here return stopped end if end tell return pstate }]
set message "\"iTunes state is: $pstate\""
append script { tell application "Finder" activate display dialog } append script $message append script { buttons {"OK"} default button "OK" with icon note end tell }
ascr execute $script ###
--- H.T. Any mail that does not come from this mailing list is ignored.
_______________________________________________ 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.