• 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: Selecting files in a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting files in a list


  • Subject: Re: Selecting files in a list
  • From: Mr Tea <email@hidden>
  • Date: Wed, 26 Mar 2003 10:10:06 +0000

This from Wade Williams - dated 26/3/03 7:37 am:

> How can I select files in a folder from a provided list of filenames?

Something like this...

--===========================================================
set theFiles to {"input.txt", "license.txt"}

tell application "Finder"
open folder "Studio!:Studio Files:Scripts X:Workshop:Folder 2:"
select (every item of Finder window 1 whose name is in theFiles)
end tell
--===========================================================

HTH


Nick
pp Mr Tea
--

Brew of the day: Yorkshire Gold
_______________________________________________
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.

  • Follow-Ups:
    • GUI scripting hiccup
      • From: Mr Tea <email@hidden>
References: 
 >Selecting files in a list (From: Wade Williams <email@hidden>)

  • Prev by Date: Re: Saving property values over changes to script
  • Next by Date: Re: changing file name within folder on desktop
  • Previous by thread: Selecting files in a list
  • Next by thread: GUI scripting hiccup
  • Index(es):
    • Date
    • Thread