Re: Getting iPod Serial Number
Re: Getting iPod Serial Number
- Subject: Re: Getting iPod Serial Number
- From: Joe <email@hidden>
- Date: Fri, 30 May 2008 10:10:58 -0700
After playing with this a bit more, I discovered I was getting
inconsistent results (I think because iTunes needed a bit more time to
switch) so I added a delay to the script. So fat it works every time.
tell application "iTunes"
set mySourceName to the name of source 2
set the view of window 1 to playlist mySourceName of source 2
activate
end tell
delay 2
tell application "System Events" to tell application process "iTunes"
to keystroke "c" using {command down}
set myResult to the clipboard
tell application "Finder" to activate
myResult
Joe
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden