Hi !
I'm wondering how to open a published file in the browser instead of opening it with a software like Photoshop, how can I do that?
Thank you
Hi !
I'm wondering how to open a published file in the browser instead of opening it with a software like Photoshop, how can I do that?
Thank you
Hi Brice,
The app that is running when you launch a publish is (appropriately enough) tk-shotgun-launchpublish:
https://github.com/shotgunsoftware/tk-shotgun-launchpublish
The bit that actually does the launch is a hook that you could override:
I think that if instead of doing an app launch, or letting the OS determine what to do with the file, you grab the folder it is in and show a browser window, you'd get the behaviour you'd want. You could look at this code from our tk-shotgun-launchfolder app as an example of how to code it up:
https://github.com/shotgunsoftware/tk-shotgun-launchfolder/blob/master/app.py#L35-L75
Think that would work for you?
Hi Brice,
It sounds like you're looking for the Launch Folder app. Let me know how that works for you!
Thanks !
Yes this work for a shot, not for a published files, in Published files info -> Path :/