Hi guys, need again your help in noob questions:
1) i find new command for AE cs6 app.activeViewer.setActive(); its set focus back to comp(to timeline with layers, after changing it to render queue when i start my script...) i need this for my task, but it not work in cs5-5.5(((, there are alternative way(any) to set focus back to comp from RQ?
2) how i can get name AEP file(path end others cool stuff from it) with something like app.name?
3) i need trim png file after exporting it from AE, now i do this with "action" in photoshop and droplet with bat file, who know a bater way?, something like sent message to photoshop directly from AE?
script on trining:
var batFile = new File ("C:\\Users\\username\\Desktop\\test.bat");
batFile.open("w","TEXT","????");
batFile.writeln("C:\\Users\\username\\Desktop\\trim_droplet.exe C:\\Users\\username\\Desktop\\ltp_face1.png\r del C:\\Users\\username\\Desktop\\test.bat");
batFile.close();
batFile.execute();
i create bat file add to it command on lunch droplet(*droplet this exe file from photoshop and it can run photoshop and start action from photoshop action menu) with my png file what i need to trim ,and delete bat file. i think this is the best way for now or.....?
4) can i get version of AE(cs5 cs6 cc)?
5) i add effect to layers but, how i can remove this effect or checking if effect already exists on layers?
var myNull = myComp.layers.addNull(myComp.duration);
myNull.name="null_for_effect";
var nullControlProperty_m=myNull.Effects.addProperty("ADBE Slider Control");
nullControlProperty_m.name="effect1";
nullControlProperty_m.slider.setValue(1);
var nullControlProperty_r=myNull.Effects.addProperty("ADBE Slider Control");
nullControlProperty_r.name="effect2";
i add two sliders, but if i do same script again, i have 4 effect if again 6 effect and +++
for example i try nullControlProperty_r.remove(); and not work
6)
can i click for example on enable motion blur for all layers or graf editor or on live update buttons via script?
PS Thx guys for previous help