Re: Name to PSN
Re: Name to PSN
- Subject: Re: Name to PSN
- From: Scott Ribe <email@hidden>
- Date: Sat, 28 Feb 2009 14:22:47 -0700
- Thread-topic: Name to PSN
> 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...
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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