• 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: AppleScript bug in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript bug in cocoa


  • Subject: Re: AppleScript bug in cocoa
  • From: David Phillip Oster <email@hidden>
  • Date: Tue, 27 Dec 2005 23:43:17 -0800

At 23:35:02 -0500 12/27/05, Jean-Olivier Lanct?t <email@hidden> wrote:
The problem is that each time my app starts, it starts iTunes up if
it's not already running.

Are you storing your applescripts as text, or as compiled scripts? If text, then NSAppleScript needs access to an appropriate appleScript dictionary to compile the text, and it is likely that iTunes specifies that it must run to give NSAppleScript the dictionary.

If you stored your applescripts compiled, then NSAppleScript doesn't need to access the dictionary.

David Phillip Oster
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Prevent running in Rosetta
  • Next by Date: Open a window created in another nib
  • Previous by thread: Re: AppleScript bug in cocoa
  • Next by thread: Re: AppleScript bug in cocoa
  • Index(es):
    • Date
    • Thread