GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Find Command Using Filter - Request Path From User?

Hi,

I'm using this command on a button to find all files modified within a wekk:

Find NAME "Modified Within 1 Week" IN "Z:\" FILTER

Is it possible to let the user choose the location instead of hard-coding it above?

Michael

You can use {sourcepath} to insert the current folder, {filepath$} for the selected folder, or one of the {dlg...} codes to prompt for a string or display a folder selection dialog.

Dialog codes:
https://www.gpsoft.com.au/help/opus12/Documents/Codes_to_display_dialogs.htm

1 Like

Thanks! Forgot about those variables....