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

Choose from list problems


  • Subject: Choose from list problems
  • From: Peter Baxter <email@hidden>
  • Date: Mon, 17 Dec 2007 17:38:29 +1100

HI People,

set thisWindow to (choose folder)
try
set chosenFiles to (every file in thisWindow whose name contains ".pdf")
set thisList to (choose from list chosenFiles with prompt "Use Apple key to choose multiple items" with multiple selections allowed)
my runScript()
on error the_error
display dialog "Error: " & the_error
end try

Sure as a bird flies, I get the error.  Why?

Peter Baxter
email@hidden

"Never ask a man what computer he uses. If it's a Mac, he'll tell  you. If it's not, why embarrass him?"  --Tom Clancy



 _______________________________________________
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: KOENIG Yvan <email@hidden>
    • Re: Choose from list problems
      • From: Skeeve <email@hidden>
  • Prev by Date: Re: Dumb Finder scripting question
  • Next by Date: Mail questions.
  • Previous by thread: Re: AppleScript wish list
  • Next by thread: Re: Choose from list problems
  • Index(es):
    • Date
    • Thread