Hey,
How do you change the names of effects via JSX? My script creates a couple blurs on a layer, but I can only control the first one ("Gassian Blur") and not the other eg "Gassuian Blur 1". Even when i try:
myLayer[0]("Effects")("Gaussian Blur 1").blurriness.setValue(50);
It returns an error!
Any ideas?
Cheers,
Nick Deboar
Digital Director
http://www.thepra.com.au
Changing the names of effects via JSX
Moderator: Paul Tuersley
-
- Posts: 114
- Joined: March 10th, 2005, 5:50 am
- Location: London, UK
- Contact:
Yo...
Try this syntax instead:
Dave
Try this syntax instead:
Code: Select all
layer=app.project.activeItem.layers[1]
layer.Effects["Gaussian Blur 1"].blurriness.setValue(50);