• 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
Compiling NSAppleScript with getuid = 0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: "Ignore Ownership on this volume" check-box status
  • Next by Date: Re: Getting PDF and/or EPS data
  • Previous by thread: Re: bindings and undo
  • Next by thread: Re: Compiling NSAppleScript with getuid = 0
  • Index(es):
    • Date
    • Thread