How to open the "run Macro" file selector

Hi all,
I’m trying to set a macro to open the “run macro” file selector (in FIJI), but I keep getting errors…
The “runMacro()” command requires a specific file to be chosen… is there anything like the "run(“Edit…”) for running a user-selected Macro?
Thanks a lot!

You can open a file dialog and then call the selected macro, see:

File.openDialog(title) - Displays a file open dialog and returns the path to the file chosen by the user (example). The macro exits if the user cancels the dialog.

Then call:

with the path.