Select 2 first words of a paragraph

New Here ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

Good morning, I need to select and italicize the first two words of each paragraph - however it just can´t be about selecting the "italic" form of the font, because the one I have to use doesn´t have the italic, so it has to be forced italic at x degrees... but I don´t know how to work with scripts... Help! And thank you

italic.png

TOPICS
Feature request, Scripting, Type

Views

77

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

correct answers 1 Correct Answer

Adobe Community Professional , May 03, 2021 May 03, 2021
You don't need a script for this, just a nested character style as part of the paragraph style definition. In the Paragraph Style definition dialog go to the Drop Caps and Nested Styles section and create a new Nested Style  then click the drop-down in the new style that shows what character style is to be applied and choose New Character Style (unless you've already defined one to apply the "italics" elsewhere, in which case you can simply choose that). Define the new Character Style with the a...

Likes

Translate

Translate
Adobe Community Professional ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

You don't need a script for this, just a nested character style as part of the paragraph style definition.

 

In the Paragraph Style definition dialog go to the Drop Caps and Nested Styles section and create a new Nested Style  then click the drop-down in the new style that shows what character style is to be applied and choose New Character Style (unless you've already defined one to apply the "italics" elsewhere, in which case you can simply choose that). Define the new Character Style with the appropriate slant, then set the nested style to apply through 2 words.

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
New Here ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

LATEST

Thank you very much, works like a charm.

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