Hi!
I'm writing a shelf tool that allows users on Linux to search a directory and its sub-directories for a certain file-type / keyword.
To do this I've used a readMultiInput like below -
start_popup = hou.ui.readMultiInput(start_message,
("Path to Search", "File to Look For"),
initial_contents=(home_dir, ".exr"),
title="File Finder",
buttons=('OK', 'Cancel'),
default_choice=0,
close_choice=1)
In this version of the script, users need to manually type in / paste the directory they want to search, but I'd like for there to be a pop-up dialog allowing users to select a folder, the same way hou.ui.selectFile() allows you to select a file.
Is there a way to do this?