Re: Emptying Trash with locked items
Re: Emptying Trash with locked items
- Subject: Re: Emptying Trash with locked items
- From: "Paul F. Henegan" <email@hidden>
- Date: Fri, 19 Oct 2001 17:24:34 -0400
on 17.10.2001 10:31, Perbix, Michael at email@hidden wrote:
>
I have a very simple script I am trying to make and I just can't figure
>
something out here...I am a newbie at scripting, so please pardon if this is
>
very basic.
>
>
OS is 8.6 and 9.x
>
>
I am using the ZeroG installer program and want to replace a folder in my
>
applemenu items, the folder contains aliases to me servers. I used stuffit
>
to stuff it up and the installer extracts the info, however since the folder
>
exists, stuffit does not replace it but rather puts a .1 in the name 8-)..
>
>
So I figures that I can just write a little applescript that will check to
>
see if the folder IS there and if so, remove it to trash and empty the
>
trash....2 things I just can not get to work...
>
>
number 1 is checking to see if it is there...
>
number 2 is emptying the trash with locked items since the aliases are
>
locked.
>
>
I got the moving it to the trash part working fine and the empty the trash
>
piece (but not locked items)
>
>
any suggestions or definitive sites with possible info?
>
Hi Michael,
Try extracting the info first, then tell StuffIt to stuff with deleting.
HTH,
paul
--
Paul F. Henegan
<email@hidden>