Is there a way to flip the order of the layers via AppleScript?
Thank you
AppleScript Reorder
2022-02-28 15:52:03
2022-03-09 15:42:50
Good question! You can try the following script:
tell application "Pixelmator Pro"
tell the front document
repeat with a from 1 to number of layers
move layer (number of layers) to before layer a
end repeat
end tell
end tell
One slight issue with AppleScript is that it doesn't really like nested layers, so if there are any groups in your project, you'd have to reorder the layers in them manually.2022-03-09 15:53:18
I ended up solving it another way but thank you.