Re: Re: Quit iTunes
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