Getting iPod Serial Number
Getting iPod Serial Number
- Subject: Getting iPod Serial Number
- From: Dave <email@hidden>
- Date: Fri, 30 May 2008 17:04:51 +0100
Hi All,
I can't seem to get the following script to work reliably:
tell application "iTunes"
activate
set mySourceName to the name of source 3
set the view of window 1 to playlist mySourceName of source 3
end tell
tell application "System Events" to tell application process "iTunes"
to keystroke "c" using {command down}
set myResult to the clipboard
Source 3 definitely has an iPod connected to it, and if I select it
in iTunes and hit Command+c I get the Serial Number copied to the
clipboard.
The clipboard doesn't seem to get set when running the above Script.
Any ideas or suggestions greatly appreciated.
All the Best
Dave
_______________________________________________
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