Forum Replies Created

  • John Colombo

    November 8, 2016 at 12:26 am in reply to: Remove all fills in a shape layer?

    Give this one a try! I was looking for the same feature to quickly remove fills. With that in mind, I took some snippets from Miguel’s code and made it loop through all the selected layers.

    This script will toggle the fills without removing them.

    Also, holding Alt (or Option) will toggle strokes instead of fills. Watch out for the “<=” in the second for(){} loop, the code box seems to mess it up.

    Cheers!

    // Define variables
    app.beginUndoGroup("Remove Fill on Shape Layer");
    var myComp = app.project.activeItem;
    var myLayer = myComp.selectedLayers;
    var myKeyState = ScriptUI.environment.keyboardState;

    try {

    for (var i=0;i

    John Colombo
    Lead Creator
    1Resonant Creation
    http://www.1resonant.com

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy