| To: | realbasic-nug at lists dot realsoftware dot com |
|---|---|
| Subject: | Re: Trouble with AppleScript and RB |
| From: | "Dave DeLong" <theloki42 at hotmail dot com> |
| Date: | Mon, 31 May 2004 16:07:07 -0400 |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| List-help: | <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help> |
| List-id: | REALbasic NUG <realbasic-nug.lists.realsoftware.com> |
| List-post: | <mailto:realbasic-nug@lists.realsoftware.com> |
Thanks,
I figured out a way to do it:
on run
tell application "iTunes"
if the player state is playing then
set s to "playing"
else if the player state is paused then
set s to "paused"
etc....
return s
end tell
end run
It works just fine!
Thanks anyway,
Dave
_________________________________________________________________
Learn to simplify your finances and your life in Streamline Your Life from
MSN Money. http://special.msn.com/money/0405streamline.armx
_______________________________________________ Unsubscribe or switch delivery mode: <http://support.realsoftware.com/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [ANN] FastTunes 1.1, Toon Van Acker |
|---|---|
| Next by Date: | Re: Adding an AddressBook entry, David Austin |
| Previous by Thread: | Re: Trouble with AppleScript and RB, Eric M.Williams |
| Next by Thread: | REAL Software closed today for Memorial Day, Geoff Perlman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |