RequestFile() specify file types

About Monkey 2 Forums Monkey 2 Programming Help RequestFile() specify file types

This topic contains 2 replies, has 2 voices, and was last updated by  AdamStrange 2 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5010

    AdamStrange
    Participant

    How do I specify the file types I am interested in with RequestFile()?

    There is absolutely no information in the help apart from

    RequestFile( title:string, filter:string = “”, save:bool = false, file:string =”” )

    I assume it is the filter:string, but how is it formatted?

    E.G.

    “.png” or *.png” doesn’t work? How to specify multiple filters like: jpg and png, etc

    #5011

    degac
    Participant

    I’m not at the computer, but it should be something like

    FILTER=”Image:jpg,png,tga”

    #5012

    AdamStrange
    Participant

    brilliant 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.