• 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: Re: Quit iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Quit iTunes


  • Subject: Re: Re: Quit iTunes
  • From: Daniel Dickison <email@hidden>
  • Date: Sat, 24 May 2008 16:53:47 -0400

NSAppleScript * script = [[[NSAppleScript alloc] initWithSource:@"tell application \"iTunes\" \n quit \nend tell"] autoRelease];
[script executeAndReturnError: nil];

That is slow because it has to compile. but if I can't get this apple event to work than I might do that

I would hope that the frequency with which you tell iTunes to quit is low enough that the overhead of compiling the script would be negligible :)
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: re: Core Data dynamic attributes and fetching
  • Next by Date: Re: How to tell if iTunes is running.
  • Previous by thread: Re: Quit iTunes
  • Next by thread: Re: Quit iTunes
  • Index(es):
    • Date
    • Thread