answer file with filter ???
m.schonewille at economy-x-talk.com
Wed Nov 19 03:43:11 CST 2008
On Mac, a file type is expected, while on Windows a file extension is
expected. You need to check the platform and then use the right command.
For example, for Mac:
answer file "Choose a ICS file..." with filter "ICS,ICS "
I have put a space after the ICS file type, because file types always
have to be 4 characters long. The first item in the filter is just a
command, which appears in a menu if you use multiple filters.
answer file "Choose a ICS file..." with filter "ICS,*ics".
A much easier way is to use the answer file with type command:
answer file "" with type "ICS|*ics|ICS "
This form can be used on both Mac and Windows. Note the space after
the file type again.
Economy-x-Talk Consulting and Software Engineering
Dutch forum: http://runrev.info/rrforum
Color Converter has been updated! Get it at
On 19 nov 2008, at 09:50, Thierry wrote:
> Hi all,
> After having checked the doc, and drink 2 coffees,
> I'm stuck this morning with this simple one line of code:
> answer file "Choose a ICS file..." with filter "ICS,*.ics"
> the filtering doesn't work at all ?
> Well, did try with different suffix and same behavior...
> Rev 3.0 on Tiger
> Any hints ?
More information about the use-livecode