Compiling NSAppleScript with getuid = 0
Compiling NSAppleScript with getuid = 0
- Subject: Compiling NSAppleScript with getuid = 0
- From: Lorenzo <email@hidden>
- Date: Fri, 16 Apr 2004 14:13:58 +0200
Hi,
whenever I run my application with the getuid = 0 (the user is root), I
cannot compile this AppleScript
--
BOOL ok;
NSAppleScript *asBeep = [[NSAppleScript alloc] initWithSource:@"tell
application \"Finder\" \n beep \n end tell"];
ok = [asBeep compileAndReturnError:nil];
if(!ok) NSLog(@"Cannot compile the AppleScript asBeep");
--
Instead, when getuid != 0 it compiles and run very well. Why?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.