• 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
Satimage OSAX "navchoose" [resent with subject line this time]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Satimage OSAX "navchoose" [resent with subject line this time]


  • Subject: Satimage OSAX "navchoose" [resent with subject line this time]
  • From: David Crowe <email@hidden>
  • Date: Sat, 14 Feb 2004 20:25:00 -0700

If I use the following line in an AppleScript (from the Satimage osax):

tell me to set theFileList to navchoose object with prompt
"Select files to print" starting at (theFile as alias) with multiple
files


I get the error:


Expected "given", "with", "without", other parameter name, etc. but
found plural class name.

This is due to the "with multiple files". Substituting another option
(e.g. "with show packages") does not generate this error.

This is probably due to AppleScript interpreting "files" as a class
name. How do I protect it from doing this?

This is within a Finder tell block, which may be the problem. Moving
it outside would mean rewriting a lot of the script (not a big deal
if that's necessary).

- David Crowe
_______________________________________________
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.

  • Prev by Date: Re: Create file alias on user desktop
  • Next by Date: New complements for Smile: askpassword, playsound, Spell checker.
  • Previous by thread: [OFF] Developer Request
  • Next by thread: New complements for Smile: askpassword, playsound, Spell checker.
  • Index(es):
    • Date
    • Thread