• 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: Marcel Weiher <email@hidden>
  • Date: Tue, 20 May 2003 02:37:51 +0200

On Monday, May 19, 2003, at 09:47 Uhr, Chris Saldanha wrote:

[demime could not interpret encoding binary - treating as plain text]
On Mon, 19 May 2003 21:39:30 +0800 ruffnex wrote:

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.

Hi,

I've had the same problem with Apple System Profiler - on my iBook, my
NSAppleScript script launches Classic's System Profiler, and not the OSX
version.

I haven't looked into the problem much, but is there a way to specify the
path to the program?


Just an idea: use NSWorkspace to launch the program? Maybe this will launch the right version already, maybe you can give it a full path. If you then still need to perform AppleScripts, maybe it will use the already-launched version.

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
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.

  • Follow-Ups:
    • Re: How to stop Classic launching iTunes? (Cocoa & Applescript)
      • From: Tomas Zahradnicky <email@hidden>
References: 
 >Re: How to stop Classic launching iTunes? (Cocoa & Applescript) (From: Chris Saldanha <email@hidden>)

  • Prev by Date: NSURL / NSURLHandle loading problem
  • Next by Date: Re: Speed Traps
  • Previous by thread: Re: How to stop Classic launching iTunes? (Cocoa & Applescript)
  • Next by thread: Re: How to stop Classic launching iTunes? (Cocoa & Applescript)
  • Index(es):
    • Date
    • Thread