Scribus Forums

Scribus => Scripts and Plugins => Topic started by: fredzannarbor on February 01, 2022, 04:18:37 am

Title: is there a way to change the order of layers using scripter?
Post by: fredzannarbor on February 01, 2022, 04:18:37 am
How can I reorder the layers in a document? For example, if I have layers [A, B, C], but I want the order to be [B, C, A].
Title: Re: is there a way to change the order of layers using scripter?
Post by: RodneyLee on February 01, 2022, 05:02:03 pm
why a script and just not move them?
Title: Re: is there a way to change the order of layers using scripter?
Post by: fredzannarbor on February 05, 2022, 04:18:37 am
I have multiple docs to process with multiple layers and do not want to do everything by hand.
Title: Re: is there a way to change the order of layers using scripter?
Post by: RobSay on February 05, 2022, 04:14:30 pm
Yes you can do this - take a look at these functions:
Obviously you need to know or set which layer you start the script on.

You can try it in Scripter console: