We have a complicated project structure in our perforce project with assets that could be under source, master, published, published_deviceType etc. directories.
All assets under the source directory have a corresponding asset under the other directories as well.
I want to create a custom tool that works in the context menu that makes it easy to navigate this structure. When I right-click on an asset, I can choose "Select in Published" or "Select in Master" and have P4V navigate to this location.
I'm familiar with creating custom tools, but not sure how to trigger a "select file" in the UI.
Is there a p4 or p4v command to do this?