Skip to main content
Known Participant
December 10, 2010
Answered

Sort paragraphstyle naming

  • December 10, 2010
  • 2 replies
  • 687 views

Hi all,

Is it possible to sort paragraph style sheet naming through js script?

Please provide me js code.

Thanks

tans

This topic has been closed for replies.
Correct answer

Hi,

Pl. refer the link http://forums.adobe.com/message/2327308#2327308 for this requirement.

Thanks,

Praveen

2 replies

tomaxxi
Inspiring
December 10, 2010

Hey!

If you want to sort Paragraph styles in panel, you can call Sort by Name like this:

app.menuActions.itemByID(8505).invoke();

And also you can sort other styles like that:

// Character Styles

app.menuActions.itemByID(8511).invoke();

// Object Styles

app.menuActions.itemByID(113168).invoke();

Hope that helps.

--

tomaxxi

http://indisnip.wordpress.com/

Correct answer
December 10, 2010

Hi,

Pl. refer the link http://forums.adobe.com/message/2327308#2327308 for this requirement.

Thanks,

Praveen

tansk02Author
Known Participant
December 10, 2010

Thanks a ton.