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

Selecting files in a list


  • Subject: Selecting files in a list
  • From: Wade Williams <email@hidden>
  • Date: Wed, 26 Mar 2003 01:37:40 -0600

This is embarrassing, but it's driving me crazy.

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

I've tried:

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

tell application "Finder"
open folder "path:to:my:folder"
set the selection to (files in theFiles)
end tell

which runs, but does not actually select the files.

I've tried this 50 different ways, but have been unsuccessful in finding one that works.

Thanks,

Wade
_______________________________________________
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:
    • Re: Selecting files in a list
      • From: "Bob.Kalbaugh" <email@hidden>
    • Re: Selecting files in a list
      • From: Mr Tea <email@hidden>
  • Prev by Date: changing file name within folder on desktop
  • Next by Date: Saving property values over changes to script
  • Previous by thread: Re: changing file name within folder on desktop
  • Next by thread: Re: Selecting files in a list
  • Index(es):
    • Date
    • Thread