Oldes / Rebol-wishes

Repository for keeping Rebol related wishes out of issues
0 stars 0 forks source link

It's possible to use `request-file` (at least on Windows so far), but there is no way to request a directory! #29

Closed Oldes closed 3 years ago

Oldes commented 3 years ago

Red language has also request-dir:

>> ? request-dir
USAGE:
     REQUEST-DIR 

DESCRIPTION: 
     Asks user to select a directory and returns full directory path (or block of paths). 
     REQUEST-DIR is a function! value.

REFINEMENTS:
     /title       => Window title.
        text         [string!] 
     /dir         => Set starting directory.
        name         [string! file!] 
     /filter      => TBD: Block of filters (filter-name filter).
        list         [block!] 
     /keep        => Keep previous directory path.
     /multi       => TBD: Allows multiple file selection, returned as a block.