Get commands called when using SG Integration UI

Hey Ben

If just launching the app via code is what you are after then you can do the following:

import sgtk
engine = sgtk.platform.current_engine()

print engine.commands

engine.commands["File Open..."]["callback"]()
engine.commands['File Save...']["callback"]()
engine.commands['Load...']["callback"]()

Best
Phil

4 Likes