Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Graff <email@hidden>
- Date: Sat, 14 Feb 2004 16:41:08 -0500
I've never heard of the "navchoose" command, is it perhaps from an OSAX?
Here's how I would do this under Mac OS X 10.3, using the Standard
Additions dictionary that is a part of AppleScript:
---------
set theFileList to choose file with prompt "Select files to print"
default location (theFile as alias) with multiple selections allowed
---------
This works just fine within a Finder tell block.
- Ken
On Feb 14, 2004, at 3:59 PM, David Crowe wrote:
If I use the following line in an AppleScript:
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).
_______________________________________________
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.
References: | |
| >(no subject) (From: David Crowe <email@hidden>) |