Skip navigation.
 
mlRe: Re: Quit iTunes
FROM : Daniel Dickison
DATE : Sat May 24 22:53:47 2008

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

Related mailsAuthorDate
mlQuit iTunes Mr. Gecko May 24, 17:49
mlRe: Quit iTunes Tommy Nordgren May 24, 18:13
mlRe: Quit iTunes Mr. Gecko May 24, 18:33
mlRe: Quit iTunes I. Savant May 24, 18:43
mlRe: Quit iTunes Tommy Nordgren May 24, 21:23
mlRe: Quit iTunes has May 24, 21:38
mlRe: Quit iTunes Mr. Gecko May 24, 21:43
mlRe: Quit iTunes Mr. Gecko May 24, 21:53
mlRe: Re: Quit iTunes Daniel Dickison May 24, 22:53
mlRe: Quit iTunes Gregory Weston May 25, 01:45
mlRe: Quit iTunes Uli Kusterer May 26, 00:26