So, if this:
Code: Select all
var selectedProperty = selectedLayer.selectedProperties; var addSlider = selectedLayer.Effects.addProperty("ADBE Slider Control"); selectedProperty.expression = "my expression";
Any ideas how to get around this without inventing some convoluted way of traversing through parent properties to find out the full path just so i can recall it after i lose the selection?
Thanks to anyone who points out something obvious that im missing and saves me a lot of trouble...