Copy link to clipboard
Copied
Is it possible to set volume of a layer in ExtendScript? I was trying to use something like
layer.property("Audio").property("Audio Levels").setValue(1);
but that doesn't work.
The Audio Levels value is probably a 2 element array, one for each channel (L+R).
Try this instead:
layer.property("Audio").property("Audio Levels").setValue([1,1]);
Copy link to clipboard
Copied
The Audio Levels value is probably a 2 element array, one for each channel (L+R).
Try this instead:
layer.property("Audio").property("Audio Levels").setValue([1,1]);
Copy link to clipboard
Copied
Yes. That worked. Thank you!