Skip navigation.
 
mlRe: Quit iTunes
FROM : Tommy Nordgren
DATE : Sat May 24 21:23:19 2008

On 24 maj 2008, at 18.33, Mr. Gecko wrote:

> How would I do that?


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


>
> I have been looking for a while and I found aevtquit but I can't 
> find out how to send.
> On May 24, 2008, at 11:13 AM, Tommy Nordgren wrote:
>

>>
>> On 24 maj 2008, at 17.49, Mr. Gecko wrote:
>>

>>> How would I quit iTunes. There is a way to launch it with 
>>> NSWorkspace but how about quit?
>>> _______________________________________________

>>     Send a quit AppleEvent
>> ------------------------------------------------------
>> "Home is not where you are born, but where your heart finds peace" -
>> Tommy Nordgren, "The dying old crone"
>> tommy.<email_removed>
>>
>>

>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/tommy.<email_removed>
>
> This email sent to tommy.<email_removed>


----------------------------------
Skinheads are so tired of immigration, that they are going to move to 
a country that don't accept immigrants!
Tommy Nordgren
tommy.<email_removed>

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