• 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: Thanx A Bunch...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thanx A Bunch...


  • Subject: Re: Thanx A Bunch...
  • From: AppleScript Guru <email@hidden>
  • Date: Sat, 13 Oct 2001 00:56:45 -0400

Kevin,

on 10/12/01 5:49 PM, you said:

> Here is my current status...
>
> Following Mr. Goodman's advice I'm at this point...
>
> property search_folder : "Kevin's Drive : apple menu items : recent
> documents"
> property destfolder : "Kevin's Drive : work related doc's"
> set itemlist to items of search_folder
> repeat with aFile in itemlist
> tell application "Finder" to copy aFile to destfolder
> end repeat
> However this returns a "results dialog box" with all the words in quotes
> broken down into individual words... This looks like it might work, but it
> isn't...

---> Try this:

property searchFolder : "Kevin's Drive : apple menu items : recent
documents"

property destfolder : "Kevin's Drive : work related doc's"

tell application "Finder"
set itemlist to items of folder searchFolder
repeat with a from 1 to count itemlist
copy (item a of itemlist) to folder destfolder
end repeat
end tell

-Ben

Benjamin S. Waldie
Write Track Media
(AppleScript GuRu)

AppleScript Web Site:
http://www.AppleScriptGuru.com
http://www.wtmedia.com


References: 
 >Thanx A Bunch... (From: "Kevin J Krejca" <email@hidden>)

  • Prev by Date: Re: Printing page numbers with Tex-Edit
  • Next by Date: Re: Off List: Many thanks to many people
  • Previous by thread: Thanx A Bunch...
  • Next by thread: OSX Scripting Additions
  • Index(es):
    • Date
    • Thread