Issues with effects and layer order ...
Posted: July 29th, 2010, 10:46 am
Hi There,
I am working on a script to help me cut some corners in my workflow. Most of the part
went pretty smooth by taking a look at how other scripts are done but with some details
i ran into a couple of problems that i can´t solve on my own.
Heres an example of what the script does:
Button gets pressd: Create a new Adjustment Layer, add effects levels, curves and saturation to it. done
Sounds pretty easy and works fine for the most part.
Here are the problems i have:
1. My new Layer is always created on top of the composition. I want it to be above the layer that
was selected before pressing the button. If no layer is selected its ok for the new Layer to be on top.
2. I want to share this script with other people so i want to check if the selected effect is really
available on the machine where the script is runing before creating the layer. Right now if the effect is
missing the layer is created but its empty (of course).
3. For some Operations, like the mentioned example with the levels etc. I wan to make the effects panel
active after creating the layer so i can smoothly start tweeking the effects without manually chaning to the effects control panel.
If you have any questions or if my explanation is not clear please ask me !
Many questions I know, but I really hope someone can help me out! Would be great ! Thanks in advance!!
Markus
I am working on a script to help me cut some corners in my workflow. Most of the part
went pretty smooth by taking a look at how other scripts are done but with some details
i ran into a couple of problems that i can´t solve on my own.
Heres an example of what the script does:
Button gets pressd: Create a new Adjustment Layer, add effects levels, curves and saturation to it. done
Sounds pretty easy and works fine for the most part.
Here are the problems i have:
1. My new Layer is always created on top of the composition. I want it to be above the layer that
was selected before pressing the button. If no layer is selected its ok for the new Layer to be on top.
2. I want to share this script with other people so i want to check if the selected effect is really
available on the machine where the script is runing before creating the layer. Right now if the effect is
missing the layer is created but its empty (of course).
3. For some Operations, like the mentioned example with the levels etc. I wan to make the effects panel
active after creating the layer so i can smoothly start tweeking the effects without manually chaning to the effects control panel.
If you have any questions or if my explanation is not clear please ask me !
Many questions I know, but I really hope someone can help me out! Would be great ! Thanks in advance!!
Markus