• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Treat String to extend script command??

Explorer ,
Aug 13, 2018 Aug 13, 2018

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

TOPICS
Scripting

Views

265

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2018 Aug 13, 2018

Copy link to clipboard

Copied

var string="transform";

var v=app.project.activeItem.layer(1)[string].position.value;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 14, 2018 Aug 14, 2018

Copy link to clipboard

Copied

LATEST

var string="opacity";

var v=app.project.activeItem.layer(1).transform.string.value;

alert(v);

How string will be treated as extendLayers command?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines