• 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: Tomas Zahradnicky <email@hidden>
  • Date: Tue, 20 May 2003 08:13:11 +0200

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.

I had that idea, but it comes from the assumption that you know the path. If you don't know the path or iTunes are not within the application folder you cannot easily find them.

However if iTunes is already launched, AppleScript prefers the launched copy, of course.

You might want to remove Launch Services Database and Desktop Database and let OS create them again. That might solve the problem.


-Tomas
--
# Ing. Tomas Zahradnicky, Jr.
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
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: 
 >Re: How to stop Classic launching iTunes? (Cocoa & Applescript) (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Killing a thread by force
  • Next by Date: Re: Future Objective-C changes
  • 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