RequestFile – open muliple files?

About Monkey 2 Forums Monkey 2 Programming Help RequestFile – open muliple files?

This topic contains 3 replies, has 3 voices, and was last updated by  Ratchet 1 year, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9429

    Ratchet
    Participant

    Is there a chance to get more then one file with RequestFile? I need to open a bunch of image files. Ideas?

    #9434

    Mark Sibly
    Keymaster

    No, there’s currently no easy way to do this without hacking at the native code.

    #9462

    scurty
    Participant

    Unless you manage to somehow call RequestFile() over and over again until finished, you’d need to edit the source of Money to enable the form of multi-select flag in the “Open File Window” for your Operating System. It would normally return an Array of file locations which would be interpreted by Monkey code. Just my thoughts on that.

    #9469

    Ratchet
    Participant

    I made a quick and dirty module that adds a RequestFiles function. Works for Mac and Windows. I attachedit, don’t wantetd to upload it to the modules unless the code for Linux is missing and it’s REALLY quick and VERY dirty!

    Attachments:
    1. ratchet.zip
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.