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

How to get IDML Self

Participant ,
Mar 26, 2017 Mar 26, 2017

Copy link to clipboard

Copied

Hi

I have to get Image Self using JavaScript before export to IDML

<Image Self="ud2"

and rectangle Self

<Rectangle Self="ud1"

Thanks for advice

TOPICS
Scripting

Views

263

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
Participant ,
Mar 26, 2017 Mar 26, 2017

Copy link to clipboard

Copied

LATEST

I solve this problem

for <Image Self="ud2"

var prefix = 'u' + graphics.id.toString(16); // i didn't check it

for <Rectangle Self="ud1"

var prefix = 'u' + graphics.parent.id.toString(16); // i check it

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