Connectors-from-script and batch

Function Returns Description
TriggerConnectorByName(name) bool Fires the named Web API connector by issuing a fire-and-forget HTTP GET to the local connector trigger endpoint. Returns false if the HTTP API is disabled in settings or the connector does not exist.
CallBatchCommand(command, batchName) bool Enqueues a Batch Processor command for the named batch via the HTTP API batch handler. command must be one of the BatchCommand values — "SHOWLAYER", "HIDELAYER", or "SHOWLAYERSOLO" (case-insensitive). batchName is matched against each layer's Batch tag using the default Contains comparison, across every scene in the project. For scene-scoped or stricter-comparison invocations, drive the Batch Processor input's properties directly via SetPropertyById + ExecuteCommandById. Always returns true; check the application log for queue-rejection details.