• 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: Dave <email@hidden>
  • Date: Wed, 9 Jan 2008 09:26:39 +0000

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.

Thanks a lot
All the Best
Dave

On 7 Jan 2008, at 17:49, has wrote:


On 7 Jan 2008, at 17:17, Dave wrote:

How can I use AppleScript to select the "Copy" Item from the "Edit" menu of an application's Menubar, more specifically how can I select "Copy" for "iTunes" ?


Most applications (including iTunes) don't provide a 'copy' command in their dictionaries, which means you have to resort to GUI Scripting (which is a fragile and ugly hack) in order to mimic it.

However, the real question is: what is it you're trying to achieve? Chances are, whatever it is you're wanting to do can be done a different and/or better way, but you'll have to provide more information if you want specific advice.

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40looktowindward.com
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden


_______________________________________________
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
  • Follow-Ups:
    • Re: How to select "Copy" from an Application's Edit Menu
      • From: KOENIG Yvan <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>)

  • Prev by Date: Re: Photoshop CS3 and clipping paths
  • Next by Date: Re: file sorting via applescript?
  • Previous by thread: Re: How to select "Copy" from an Application's Edit Menu
  • Next by thread: Re: How to select "Copy" from an Application's Edit Menu
  • Index(es):
    • Date
    • Thread