Feature Request: Switch to expand the directory in dlgfolder

The directory display opened by {dlgfolder||D:\MyDIrectory} does not expand D:\MyDirectory to display its subforlders. I'm sure that there are good reasons for this, but it means that the subsequent selection of a subfolder of D:\MyDirectory requires an extra mouseclick before one can see where one is going.

Could a switch, or some other option, be added to dlgfolder so that the subdirectories of the specified directory are displayed?

I tried using D:\MyDIrectory\ and D:\MyDIrectory* and D:\MyDIrectory*.* but they didn't change the result. I may well be missing something in the command.

Workaround: Use {dlgfolder||D:\MyDIrectory\FolderA} to open D:\MyDirectory at its first subdirectory, but this is clumsy when the subdirectories are often changing.

Thanks for the suggestion!

In the next update you'll be able to use things like: {dlgfolder||D:\MyDIrectory|expand}

Thanks for that, Jon and Leo. It will make things just that bit simpler.

A further small request concerning opening a folder from the dlgfolder display. When using the keyboard without the mouse, there is no problem --- select the required directory with the arrow keys, then press the "Enter" key to open it.

When using the mouse without the keyboard, however, it's a bit clumsier --- select the required directory with single clicks (double clicks expand the directory), then climb all the way down to the bottom to press the "OK" key. Could I suggest:

  • One click: Selects the directory and expands it as well.
  • Two clicks: Opens the directory.
    That would be kinder to the mouse-hand and mouse-arm.

I think that would result in accidents where people double-click folders expecting them to expand (as is standard in tree controls) and instead select them and send them to a command (potentially catastrophically).

Understood. Would a right-click menu on a folder be the right solution? (I usually use the keyboard, so it is seldom a problem.)