Expressions/Scripts/Presets

Moderator: byronnash

 
lolec
Topic Author
Posts: 2
Joined: Wed Feb 15, 2017 11:18 pm

Make a script to parent bottom layer to current selected layer.

Wed Feb 15, 2017 11:22 pm

Hello, I've got this very repetitive task that I perform dozens of times per hour, I need to parent the layer right under the selected layer to the selected layer. Ideally I would assign a shortcut to this script. 

Problem is, I read through the documentation, searched forums and I can't understand how to do it. Can anyone point me in the right direction?

Thanks!
 
User avatar
zlovatt
Posts: 12
Joined: Mon Oct 31, 2016 5:00 pm
Location: Los Angeles
Contact:

Re: Make a script to parent bottom layer to current selected layer.

Wed Feb 15, 2017 11:47 pm

I've written something like this before, you can view it here. Only difference is, in this case the selected layers parent to the layer above, not the other way around.

Save this somewhere, select each layer you want to be parented, and then run the script and it will parent each selected layer to the layer above it.
 
lolec
Topic Author
Posts: 2
Joined: Wed Feb 15, 2017 11:18 pm

Re: Make a script to parent bottom layer to current selected layer.

Thu Feb 16, 2017 12:09 am

this was even better than what I imagined!, It will literally saved me hundreds of hours of clicking, this is f amazing :) 

Who is online

Users browsing this forum: No registered users and 4 guests