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: 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.