Re: How to stop Classic launching iTunes? (Cocoa & Applescript)
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.