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

What type of scripts do you need?

Moderator: byronnash

Post Reply
lolec
Posts: 2
Joined: February 15th, 2017, 11:18 pm

February 15th, 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: 21
Joined: October 31st, 2016, 5:00 pm
Location: Los Angeles
Contact:

February 15th, 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
Posts: 2
Joined: February 15th, 2017, 11:18 pm

February 16th, 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 :) 
Post Reply