FlipX of brush using script
Hi! This should be really simple, all I need to do is toggle flipX (in Brush Properties) using a script.
This was my attempt:
var desc = new ActionDescriptor();
desc.putBoolean(stringIDToTypeID('flipX'), true);
executeAction(desc);It brings an error for line 3 saying a numeric value is required.
I tried some code from this link: https://community.adobe.com/t5/photoshop-ecosystem-discussions/brush-kind-tools-spacing-is-always-25-by-script/m-p/8201506
Which works, but switches to the Airbrush instead of the brush I currently have. Any help? 🙂
