Re: Quit iTunes
Re: Quit iTunes
- Subject: Re: Quit iTunes
- From: Tommy Nordgren <email@hidden>
- Date: Sat, 24 May 2008 21:23:19 +0200
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"
email@hidden
_______________________________________________
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
----------------------------------
Skinheads are so tired of immigration, that they are going to move to
a country that don't accept immigrants!
Tommy Nordgren
email@hidden
_______________________________________________
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