Re: Copy files into /private/var/ with Applescript
Re: Copy files into /private/var/ with Applescript
- Subject: Re: Copy files into /private/var/ with Applescript
- From: Emmanuel Levy <email@hidden>
- Date: Tue, 31 Mar 2009 21:09:49 +0200
At 1:56 PM -0400 3/31/09, Wenping Yang wrote:
Hello,
I try to copy a few files into /private/var, I wonder how to use
applescript to check/enable root, and copy the files without letting
user open a terminal window.
Any suggestions would be appreciated.
If I did not use Files.osax, I would try use the shell:
do shell script "cp src dst" with administrator privileges
(I'm not sure about the "cp" part)
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden