Custom Action Menu Item for opening a folder in File Explorer

Hello,

I’ve been digging through the Action Menu Item docs trying to figure out if there is a way to open an entity-specific folder location on my local machine via the Shotgun web interface. My goal is to be able to right-click on a Shot and select an action, which will open the reference images directory for that specific Shot. So far I have managed to figure out how to do this via the file:/// protocol in my web browser, but ideally I want to open the directory via File Explorer on Windows, which I presume would require a shell command to be executed.

What is the best way to go about achieving this?

3 Likes

Hello @viktor_petrov, being that the file protocol is a system default, I would not go changing it. Instead you may need to create your own custom protocol handler that will launch the file browser.

4 Likes