Copy link to clipboard
Copied
Hi there,
How to treat string as extend script inbuilt command??
var string="transform";
var v=app.project.activeItem.layer(1).string.property.value;
alert(v);
Thank you
Copy link to clipboard
Copied
var string="transform";
var v=app.project.activeItem.layer(1)[string].position.value;
Copy link to clipboard
Copied
var string="opacity";
var v=app.project.activeItem.layer(1).transform.string.value;
alert(v);
How string will be treated as extendLayers command?