open for access with administrative privileges
open for access with administrative privileges
- Subject: open for access with administrative privileges
- From: Mark Butler <email@hidden>
- Date: Sun, 20 Nov 2005 19:08:14 -0800
Evening everyone,
What is the best way to do this without creating a bunch of authentications and being annoying??
What I normally do is use this handler to write to a file...
on writeFile(theFilePath, thecontents) set f to (open for access alias theFilePath with write permission) -- edited write thecontents to f close access f end writeFile
What I need to do is to write to a file that needs administrative privileges... and might not exist..
Whats the cleanest easiest way to do this without a bunch of try loops or do shell scripts, and without authenticating more than once.
Mark |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden