answer file "sdsdsd" with type... broken on Win?

Klaus Major klaus at major-k.de
Tue Apr 22 09:52:51 EDT 2008


Hi Richard,

> Klaus Major wrote:
>> can someone check if this works on Windows before I bugreport it?
>> ...
>> answer file "sdsdsd" with type"|jpg|"
>> ...
>> Should only show JPEG files in the dialog, but doesn't!
>> ALL files can be selected :-/
>
> Using that string I get the same result as you, but it could be  
> because the empty first part of the string is throwing it off.

Thanks for testing, but has been working this way before Rev 2.9X.

> The type specifier has three parts:  the description, the Windows  
> file extension, and the Mac file type, each separated by a pipe  
> ("|").  I've found the Mac portion can be omitted, but the  
> description seems to be required.
>
> When I use:
>
>  answer file "sdsdsd" with type "Image files|jpg"
>
> ...it works as expected.

OK, will have to change my (previously working) script accordingly,  
thanks.

> -- 
> Richard Gaskin
> Managing Editor, revJournal
> _______________________________________________________
> Rev tips, tutorials and more: http://www.revJournal.com

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de





More information about the use-livecode mailing list