When viewing a published file in shotgun, it offers a 'Open in Associated Application' Action, which defaults to whatever the associated hook (shotgun_launch_publish.py
) decides to use, but I would need more control over the application chosen.
So I think I could change the launch_publish hook, but I wouldn't have any way to decide which application to open other than the path. However it would be good to know if it needs nukex instead of nuke, or maya 2014 instead of 2013...
Is there a way to record the exact application that was used for a publish and get that information back from shotgun when loading the published file through shotgun? Or some other, easier way to achieve the same goal?