• 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: Deleting Folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting Folders


  • Subject: Re: Deleting Folders
  • From: Nigel Garvey <email@hidden>
  • Date: Thu, 7 Jun 2001 00:20:18 +0100

"Peter Nedeljkovich" wrote on Wed, 06 Jun 2001 13:06:40 -0400:

>I have tried to move folders from the desktop to another disk by:
>
>move folders in desktop to disk "disk2"
>
>The error message says you can't move the trash. Is there a better way to
>do this?

There are a number of ways to filter out your disks and the trash. One is:

tell application "Finder"
move (every folder whose index is not in (index of disks & index of
trash)) to disk "disk2"
end tell

NG


  • Follow-Ups:
    • Re: Deleting Folders
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: applescript-users digest, Vol 2 #732 - 16 msgs
  • Next by Date: Re: newbie text manipulation
  • Previous by thread: Re: Deleting Folders
  • Next by thread: Re: Deleting Folders
  • Index(es):
    • Date
    • Thread