Launching Photoshop in Context from Command Line

For configurations that are on our local network I can use an Automator script to launch PS from the OSX Dock.

image

export SHOTGUN_LOAD_FILE_ON_OPEN="$@"
/Volumes/Production/Shotgun/PipelineConfigurations/Toolkit/tank photoshop_cc_2019

Works great, except for distributed configurations.

Is there a way, via command line to access tank from a distributed configuration so I can do something similar?

Daniel

3 Likes

You would need to bootstrap the tk-shell engine and run the launcher from there. That should work OK from an automator script I would think.

This guide covers bootstrapping and launching an app, should it should be exactly what you need:

2 Likes

Spectacular! Took all of 10 minutes. Passing the dropped file to the envvar still works too.

Now I just need to set the context first based on the dropped path.

Thanks again Philip!

Daniel

2 Likes