I thought that based on the info, you couldn't do it using Apple Events... Apparently I misinterpreted. I'll try this in a little bit and I'll post back my results.
On 2/28/09 1:22 PM, "Scott Ribe" <scott_r...@killerbytes.com> wrote: >> Then would there be some way to either "trick" the system into quitting it >> in Cocoa, or simply using another way other then Apple Events? > > What's wrong with Apple Events? > > NSDictionary *err = nil; > NSAppleEventDescriptor *desc = > [[[[NSAppleScript alloc] initWithSource: @"tell application \"System > Events\"\r..."] autorelease] executeAndReturnError: &err]; > > OK, yeah, I wouldn't (don't) actually try to jam it all on one line like > that, but it's just to give you the idea... _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com