• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to select "Copy" from an Application's Edit Menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How to select "Copy" from an Application's Edit Menu (From: Dave <email@hidden>)
 >Re: How to select "Copy" from an Application's Edit Menu (From: has <email@hidden>)
 >Re: How to select "Copy" from an Application's Edit Menu (From: Dave <email@hidden>)

  • Prev by Date: Re: Photoshop and CS3
  • Next by Date: How to get the app in use
  • Previous by thread: Re: How to select "Copy" from an Application's Edit Menu
  • Next by thread: Finderscript works on 10.5, but not on 10.4?
  • Index(es):
    • Date
    • Thread