AppleScript gradient support?

Talk about Pixelmator Pro, share tips & tricks, tutorials, and other resources.
User avatar

2021-04-27 22:45:19

Hello! I have just read the great AppleScript overview, and looking through the AppleScript dictionary for Pixelmator Pro.

I can't find anything about gradients for fill/stroke styles or the Gradient Fill tool. Is this supported?
User avatar

2021-04-28 07:48:45

Hi! Gradient fill isn't directly supported at the moment but if you save the gradient you want as an effect preset (using the Gradient effect in the Fill effects category), you should be able to apply it using the apply effects preset command.
User avatar

2022-11-02 17:45:53

Hi! Can you please give an example of using "apply effects preset"? I'm trying to create automation for a Frequancy separation and I don't know where to put name of a preset.
User avatar

2022-11-03 15:46:59

Not my cup of tea - but have you been here already? viewtopic.php?t=16392