Hi Paul, Right, that's for filtering by file type. What I'm looking for is a menu of encoding types (UTF8, UTF16, etc). If you're on a Mac, run Textedit and choose Open from the File menu and you'll see what I mean.
On Sat Feb 14 2015 at 5:10:41 PM Paul Hibbert <[email protected]> wrote: > Yes there is, see "answer file with type" in the dictionary, but here's > example I've used… > > on mouseUp > answer file "Choose an Image to import..." with defaultFolder with \ > type "All Images|png,jpg,gif|PNG,JPG,GIF" or \ > type "PNG|png|PNG" or \ > type "GIF|gif|GIF" or \ > type "JPEG|jpg|JPG" as sheet > if it is empty then > exit to top > else > set the itemDel to slash > put the last item of it into fld "myImagePath" > set the fileName of img "myImage" to it > end if > end mouseUp > > HTH > > Paul > > > On Feb 14, 2015, at 4:29 PM, Peter Haworth <[email protected]> wrote: > > > > When I select Open from the Textedit File menu, I see a dropdown menu of > > encodings to be used when I select a file. > > > > Is there a way to have that menu appear with the LC answer file dialog? > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
