You need look up 'answer file with type' in the dictionary.
As far as I can remember (unreliable!) of previous conversations about
this, filtering in the normal answer file command is dependant on
files having a file type assigned to them by the creating program,
making it nearly useless in OS X because file types are pretty much
deprecated in the OS.
Ian
On 4 Aug 2009, at 15:06, Graham Samuel wrote:
This seems extremely simple, but I can't get the following example
to work (the example comes from the Rev dictionary for Rev 3.5.0
build 870):
For example, to specify that only Revolution files should appear in
the dialog box, use this statement. The description "Revolution
files" is visible to the user at the bottom of the dialog, and only
files with the extension ".rev" are shown:
answer file myPrompt with filter "Revolution files,*.rev"
When I do this on an Intel Mac running Mac OS 10.5.7, the file
selection box appears but all the files (not just non- .rev files)
in the directory are dimmed and can't be selected. Same if I use the
"answer files" version, and also if I substitute "type" for
"filter". OTOH if I leave out the type/filter part of the statement,
I get the directory shown with all types of files (of course) and
the individual files are selectable and the expected list appears in
the "it" variable.
I just want to see one type of file (not really .rev, but if that
example works then clearly I can do what I want).
What am I doing wrong? Answer file has existed for a long time, so I
imagine it's my mistake rather than a bug. I found some some
correspondence about this in the list archives way back in 2002, but
nothing I can see more recent.
TIA
Graham
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution