• 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: Peter Baxter <email@hidden>
  • Date: Mon, 17 Dec 2007 20:12:45 +1100

Yes to your suggestion. Unfortunately many of these files are created by a microsoft program and have the ending ".pdf.doc"

therefore some of these are word files and some are pdf's. I want to be able select all of them no matter what they are.



On 17/12/2007, at 8:03 PM, Skeeve wrote:

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: "John C. Welch" <email@hidden>
References: 
 >Choose from list problems (From: Peter Baxter <email@hidden>)
 >Re: Choose from list problems (From: Skeeve <email@hidden>)

  • Prev by Date: Re: Choose from list problems
  • Next by Date: Re: Choose from list problems
  • Previous by thread: Re: Choose from list problems
  • Next by thread: Re: Choose from list problems
  • Index(es):
    • Date
    • Thread