• 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
Re: Emptying Trash with locked items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>


References: 
 >Emptying Trash with locked items (From: "Perbix, Michael" <email@hidden>)

  • Prev by Date: Applescript to get the User Name
  • Next by Date: Custom applet icon in OS X 10.1 - how?
  • Previous by thread: Re: Emptying Trash with locked items
  • Next by thread: Re: Emptying Trash with locked items
  • Index(es):
    • Date
    • Thread