• 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: Choose from list problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Choose from list problems


  • Subject: Re: Choose from list problems
  • From: Skeeve <email@hidden>
  • Date: Mon, 17 Dec 2007 10:03:54 +0100

Hy Peter!

try:

tell application "Finder" to set chosenFiles to name of ((every file in thisWindow) whose name contains ".pdf")

But isn't 'ends with ".pdf"' better?

Andd what about "choose file" with an appropriate PDF-Filter?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Choose from list problems
      • From: Peter Baxter <email@hidden>
References: 
 >Choose from list problems (From: Peter Baxter <email@hidden>)

  • Prev by Date: How to associate a file with a script
  • Next by Date: Re: Choose from list problems
  • Previous by thread: Choose from list problems
  • Next by thread: Re: Choose from list problems
  • Index(es):
    • Date
    • Thread