In order to automatize actions performed on workfiles, and being able to batch the workfiles treated, we need to control both launch and close of the DCC from outside the host. The launched event allows to trigger custom actions once the host is ready. The close one would exit the DCC cleanly from inside (not killing brutaly the process), the event is catched by the ayon's webserver and performs exit using the software's API.
For Photoshop, I already fixed the launch part #75 but the closing instruction is still missing.
Additional context
This is proposed while I'm developping a Photoshop implementation for https://github.com/BigRoy/ayon-launch-scripts.
I already submitted a PR implementing this event + stabilizing the host connection to make the batch processing reliable: #76
Similar use case from ynput/ayon-aftereffects#68
In order to automatize actions performed on workfiles, and being able to batch the workfiles treated, we need to control both launch and close of the DCC from outside the host. The
launchedevent allows to trigger custom actions once the host is ready. Thecloseone would exit the DCC cleanly from inside (not killing brutaly the process), the event is catched by the ayon's webserver and performs exit using the software's API.For Photoshop, I already fixed the launch part #75 but the closing instruction is still missing.
Additional context
This is proposed while I'm developping a Photoshop implementation for https://github.com/BigRoy/ayon-launch-scripts.
I already submitted a PR implementing this event + stabilizing the host connection to make the batch processing reliable: #76
Similar use case from ynput/ayon-aftereffects#68