Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


to automate adding element and its attributes

Explorer ,
Aug 14, 2019 Aug 14, 2019

Copy link to clipboard

Copied

hi all,

i want to know

when user applying "bold"  style in indesign menually i wanted to automate that if he apply bold then in xml structure it would automatically get added tag and attribute <emph>

anyone please help me.

TOPICS
Scripting

Views

113

Likes

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
Engaged ,
Jul 17, 2021 Jul 17, 2021

Copy link to clipboard

Copied

Hi @anupamo12276900 ,

 

You need to add event listener, when use click on character style.

 

Sumit

-Sumit

Likes

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
Adobe Community Professional ,
Jul 17, 2021 Jul 17, 2021

Copy link to clipboard

Copied

Hi Sumit,

as I understand this request, there are no character styles involved at all.

The user selects text and bold it through the Control panel, the Properties panel or the Character panel.

 

Regards,
Uwe Laubender

( ACP )

Likes

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
Engaged ,
Jul 18, 2021 Jul 18, 2021

Copy link to clipboard

Copied

LATEST

Hi @Laubender,

 

Yes, it may be but also possible that user apply character style instead of manual font style change.

 

Regards,

Sumit

-Sumit

Likes

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