Skip to main content
Known Participant
May 14, 2017
Answered

[AS] moving a style group in another one

  • May 14, 2017
  • 2 replies
  • 669 views

Hi,

is it possible to move a style group inside another one?

i can't do it via "parent" as it's a read only property.

I tried to use "move xx to" but it doesn't work: either it can't be done that way or i'm not using location specifiers the way they should…

Thanks for your help!

This topic has been closed for replies.
Correct answer Dirk Becker

This works for me:

tell application id "com.adobe.indesign"

  tell active document

  move paragraph style group 1 to beginning of paragraph style group 2

  end tell

end tell

2 replies

fabio guidog92344932
Participant
February 1, 2023

It's possible write a Script that go out a paragraph style from a paragraph style group?

Thank'you

 

Dirk BeckerCorrect answer
Legend
May 15, 2017

This works for me:

tell application id "com.adobe.indesign"

  tell active document

  move paragraph style group 1 to beginning of paragraph style group 2

  end tell

end tell

Known Participant
May 15, 2017

It work, thanks!