Re: Error message: NOT super-user
Re: Error message: NOT super-user
- Subject: Re: Error message: NOT super-user
- From: Ricardo Diaz <email@hidden>
- Date: Sat, 8 Sep 2007 22:08:00 +0000
- Importance: Normal
Ok, how can I make a string which has double quotes in it?
Here's what I have:
NSString *script = @"tell application "System Events" to shut down";
shutdown = [[NSAppleScript alloc] initWithSource:script];
id status = [shutdown executeAndReturnError:nil];
but this doesn't take System Events as part of the string, how should I do it?
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx_______________________________________________
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