ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How to delete all masks on a layer...Is there a script or a shortcut for this?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Richard Garabedain
How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 7, 2014 at 2:17:09 pm

Its not a huge time waster, but it would be a lot easier if i could hotkey something to delete all masks on a layer without opening up the masks, selecting them, then deleting them. Im playing around with element 3d if your wondering.


Return to posts index

Walter Soyka
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 8, 2014 at 1:09:25 am

In case you are not aware, the M key will reveal the masks of selected layers in the timeline.

I'm not aware of any script that removes all masks, but it would be straightforward enough to write. Is this a need you have frequently?

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

Richard Garabedain
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 8, 2014 at 12:51:04 pm

Yes, id say so. How would you write such a thing?


Return to posts index


Walter Soyka
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 8, 2014 at 1:28:34 pm

Study the After Effects scripting guide:
http://blogs.adobe.com/aftereffects/files/2012/06/After-Effects-CS6-Scripti...

I've written a script to do remove masks from a layer [link]. It would work nicely with ft-toolbar [link].

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

Richard Garabedain
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 8, 2014 at 2:44:39 pm

Sorry, but what do i do with this random assortment of letters


Return to posts index

Brian Charles
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 8, 2014 at 6:52:14 pm
Last Edited By Brian Charles on Sep 8, 2014 at 11:47:47 pm

Its a script. If it downloads with a .txt file extension, remove that and make sure the extension is .jsxbin. Place that in the ScriptUI Panels folder and relaunch After Effects, then it will be available from the After Effects Window menu.

EDIT: this script is not a panel, while the above works, placing it in the Scripts folder then selecting File >Scripts > keen-Remove Masks.jsxbin will remove the masks from all selected layers.




Return to posts index


Walter Soyka
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 9, 2014 at 3:50:27 am

[Brian Charles] "placing it in the Scripts folder then selecting File >Scripts > keen-Remove Masks.jsxbin will remove the masks from all selected layers"

Brian, thank you for writing my documentation for me! :)

I'd definitely recommend using this in conjunction with a launcher like ft-Toolbar or rd: Script Launcher to make it faster to use.

If you want to put it on a hotkey, you can. Ae allows you to assign hotkeys to the first 20 scripts alphabetically (by manually editing the shortcuts.txt file located in the Ae preferences directory, which you can reveal from the General tab of the Ae preferences themselves). Rename my script so it goes somewhere predictable in the list and assign the shortcut.

If you're on a Mac, you can also assign keyboard shortcuts to menu items [link] by name.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

Brian Charles
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 9, 2014 at 5:25:34 am

[Walter Soyka] "Brian, thank you for writing my documentation for me! :)"

Figured you were AFK so I replied, didn't mean to intrude on your discussion! ;)



Return to posts index

Richard Garabedain
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 9, 2014 at 2:21:22 pm

Ok, it works and all. thanks. I really need to work on my scripting, but it all seems French to me.


Return to posts index


Brian Charles
Re: How to delete all masks on a layer...Is there a script or a shortcut for this?
on Sep 9, 2014 at 4:26:25 pm

David Torno has an After Effects Scripting training series that is hosted elsewhere, it might help get you started.

http://provideocoalition.com/dtorno/story/after-effects-extendscript-traini...



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]