Answer file with type BMPf?

William de Smet williamdesmet at
Thu Jan 27 08:15:38 EST 2011

Hi Bernd,

I use this script in an image area:
on mouseup
    answer file "Kies een foto:" with type "All Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf"
               if it = empty
                  put empty into img "foto1"
                    exit mouseUp
                 end if
               put url ("binfile:" & it) into img "foto1"
end mouseup

Like I said: tested on Windows 7 and OSX 10.6 with LC 4.5.3. All images show up in img "foto1". No luck with any bmp file.



Verstuurd vanaf mijn iPhone!

Op 27 jan. 2011 om 13:43 heeft BNig <niggemann at> het volgende geschreven:

> Hi William
> this works for me on MacOS 10.6.6 for all three file suffixes:
> answer files "Kies een foto:" with type "All Images|png,jpg,bmp"
> could you post the code that does not work for you? Any typos?
> Kind regards
> Bernd
> -- 
> View this message in context:
> Sent from the Revolution - User mailing list archive at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list