• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Name to PSN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Name to PSN
      • From: Pierce Freeman <email@hidden>
    • Re: Name to PSN
      • From: Pierce Freeman <email@hidden>
References: 
 >Re: Name to PSN (From: Pierce Freeman <email@hidden>)

  • Prev by Date: Re: Name to PSN
  • Next by Date: Re: Name to PSN
  • Previous by thread: Re: Name to PSN
  • Next by thread: Re: Name to PSN
  • Index(es):
    • Date
    • Thread