Skip to content

Manage the host from a script #78

Description

@Tilix4

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions