Re: hide file
Re: hide file
- Subject: Re: hide file
- From: KOENIG Yvan <email@hidden>
- Date: Sat, 12 May 2012 12:09:26 +0200
Le 12 mai 2012 à 11:46, KOENIG Yvan a écrit :
Hello
I'm puzzled.
I know the way to hide a file thru System Events but can't do that if administrator privileges are required. I tried to use
quoted form of POSIX path of thePath do shell script "/usr/local/bin/setfflags -i 1 " & result with administrator privileges
but I got an error message stating that the command can't be use because it's a PPC one.
Is there a way to achieve the wanted goal ?
Yvan KOENIG (VALLAURIS, France) samedi 12 mai 2012 11:46:19
I was able to do the trick with :
quoted form of POSIX path of thePath do shell script "/Developer/usr/bin/SetFile -a V " & result with administrator privileges
but I can't give this scheme to the original asker which doesn't installed the Developers tools.
Yvan KOENIG (VALLAURIS, France) samedi 12 mai 2012 12:05:23
|
_______________________________________________
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