Automation Help

Having a brain freeze moment. How do I change this automation to be file name/version independant. Forgot which part of the API I need to delete.

=================

//audio sting
setVariable($swoosh, “/api/v1/documents/1987133805/layers/D4598735-A21F-4884-A830-586C5641FA77”)

//pause 1 seconds
sleep (.4)

//switching audio on
layerOn($swoosh)

Just remove this part. But it will only work with layerOn() and layerOff()

1 Like