• 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 stop Classic launching iTunes? (Cocoa & Applescript)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to stop Classic launching iTunes? (Cocoa & Applescript)


  • Subject: Re: How to stop Classic launching iTunes? (Cocoa & Applescript)
  • From: erik <email@hidden>
  • Date: Wed, 21 May 2003 12:39:06 +0200

hi --

you could try to add the ".app" suffix to the application
name:

tell application "iTunes.app" to launch

should work. it's the same to get the command-line
"open"-command to open the os x version of
disk copy (sometimes launches the classic version
here):

# open -a Disk\ Copy.app

HTH

-- erik

Am Montag, 19.05.03 um 15:39 Uhr schrieb ruffnex:
My Cocoa application invokes some AppleScript, using NSAppleScript, to call iTunes like thus:

tell application "iTunes"
...

However, on some users' systems, the Classic version of iTunes is launched, instead of the OSX version.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >How to stop Classic launching iTunes? (Cocoa & Applescript) (From: ruffnex <email@hidden>)

  • Prev by Date: Re: Notification received twice
  • Next by Date: NSOpenGLView drawing
  • Previous by thread: How to stop Classic launching iTunes? (Cocoa & Applescript)
  • Next by thread: Re: How to stop Classic launching iTunes? (Cocoa & Applescript)
  • Index(es):
    • Date
    • Thread