• 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: A simple deletion script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A simple deletion script


  • Subject: Re: A simple deletion script
  • From: John Delacour <email@hidden>
  • Date: Sun, 11 May 2003 21:00:40 +0100
  • Mac-eudora-version: 6.0b18

At 12:13 pm -0700 11/5/03, Christopher Nebel wrote:

Oh, just lovely. Here we have a complete newbie, and a language that was designed to be comprehensible to non-programmers, and what do you do? You send him straight to the shell, which is widely known to be one of the *least* newbie-friendly systems in existence.

Go read the AppleScript Language Guide (just type that into Google to find it), and try this (mostly) equivalent script:

tell application "Finder"
move every file of home whose name starts with "nam" to the trash
empty the trash
end


At 8:42 pm +0100 10/5/03, John Delacour wrote: [AS HIS FIRST ANSWER]

tell app "Finder" to move files in folder "d:f:" whose name contains "xxx" to the trash.

Could the two possibly be related I wonder :-)

Somebody's not reading the threads again.

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: A simple deletion script (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: A simple deletion script
  • Next by Date: Re: Bug in osacompile ??
  • Previous by thread: Re: A simple deletion script
  • Next by thread: Re: A simple deletion script
  • Index(es):
    • Date
    • Thread