Automate File Save step

Hello

I am a beginner sgtk developer and I was wondering if there is a way to automate the “File Save” when a compositor is first working on a script. Right now I have compers open the script, then click the “Flow Production Tracking” tab, then click “File Save”, and then closing Nuke completely and openning it up again to then click the “Flow Production Tracking” tab, then “File Open” and reopenning the script so the FlowProductionTrackingWrite node appears. Is there a way to automate this so that Compositors do not have to open the comp and save it, instead they can open Nuke, click on “Flow Production Tracking” tab, and then File Open directly to save time? Please let me know if there is a solution for this and thank you in advance for any help you can give.

Best,
Sergio

This is a bug-bear of mine…
The steps for creating a new file are :

  • open the SG workfiles Save-as dialog.
  • select your task.
  • click “new file”.
  • Open sg worfiles save-as dialog.
  • click “save”

It’s a bit daft. The new-file button should automatically save the file once opened.

The reason for this awkward workflow is that SG needs to know

  • the task, so it can set the context.
  • the file-name to give the file.

It can’t save the file using the new-file button, as there’s no input for the user to enter the {name} field required by the template, hance the need for the user to re-open the save-as dialog so they can then save the file in the context selected previously, with the name provided in the dialog.

“and then closing Nuke completely and openning it up again”

You shouldn’t need to relaunch nuke.

1 Like