Re: How to select "Copy" from an Application's Edit Menu
Re: How to select "Copy" from an Application's Edit Menu
- Subject: Re: How to select "Copy" from an Application's Edit Menu
- From: KOENIG Yvan <email@hidden>
- Date: Wed, 9 Jan 2008 19:08:29 +0100
Le 9 janv. 2008 à 10:26, Dave a écrit :
Hi,
I want to get the serial number of the iPod that is connected. The
only way I can find of doing it is to select the iPod in iTunes and
then do a "copy" which puts the serial number on the clipboard. I
then read the clipboard to get the serial number.
Can this be done another way? If not. again, how do I select the
"copy" operation via AppleScript/iTunes.
Hello
It seems that GUIscripting is not appreciated here.
As it exists, I don't refuse to use it when it is usefull.
You may try this quick and dirty piece of code.
--[SCRIPT copyFRomItunes.app]
tell application "iTunes" to activate
tell application "System Events" to tell application process "iTunes"
to keystroke "c" using {command down}
--[/SCRIPT]
Yvan KOENIG
_______________________________________________
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