Search found 7 matches

by fabiantheblind
March 28th, 2012, 2:11 am
Forum: General Scripts Library
Topic: Script for creating Maps in AE CS5
Replies: 0
Views: 6239

Script for creating Maps in AE CS5

Hey there, I've just released a beta version of my script called AEMap and would be glad to get some feedback on it. What it does? It builds a mercator projected world map with 177 separate countries directly in After Effects. Grab the script and watch the usage over here ( http://fabiantheblind.git...
by fabiantheblind
April 6th, 2011, 2:25 am
Forum: Scripts Discussion
Topic: Make Editable Text via Script
Replies: 0
Views: 2510

Make Editable Text via Script

Hi folks, I'm working on a script that executes a menue command to make editable text from my PSD file. this is my code so far: main(); // here it happens function main(){ // get the current active composition var curComp = app.project.activeItem; // if ther is no comp if (!curComp || !(curComp inst...
by fabiantheblind
February 2nd, 2011, 9:15 am
Forum: Scripts Discussion
Topic: Loop thru all items in comp and change duration
Replies: 4
Views: 3209

Re: Loop thru all items in comp and change duration

Yes. That works. Thnx again Paul. Here the full code: main(); function main(){ var curComp = app.project.activeItem; if (!curComp || !(curComp instanceof CompItem)) { alert("Please select a Composition."); return; } app.beginUndoGroup("set Duration"); var val = 168; curComp.duration = val; var sella...
by fabiantheblind
February 2nd, 2011, 7:57 am
Forum: Scripts Discussion
Topic: Loop thru all items in comp and change duration
Replies: 4
Views: 3209

Re: Loop thru all items in comp and change duration

Your for loop starts from var i = 1 while an array index (layers) starts from 0. Yeah I tried this, then i get the error: After Effects Fehler: Wert 0 außerhalb des Bereichs 1 bis 10 its like: array out of bounds. Value 0 is out of range from 1 to 10. I think i somehow get the layers (they start b...
by fabiantheblind
February 2nd, 2011, 6:56 am
Forum: Scripts Discussion
Topic: Loop thru all items in comp and change duration
Replies: 4
Views: 3209

Loop thru all items in comp and change duration

hello AEnhancers, I'm trying to loop thru all items in my selection and change the in and out points. That works fine but i run into the problem that i can't change the duration of the last layer in nested comps. Here is my code. main(); function main(){ var curComp = app.project.activeItem; if (!cu...
by fabiantheblind
January 23rd, 2011, 9:58 am
Forum: Scripts Discussion
Topic: Change Text propertys
Replies: 2
Views: 3281

Re: Change Text propertys

Thnx, that worx buildTimeCode(); function buildTimeCode() { app.beginUndoGroup("build Time Code"); var curComp = app.project.activeItem; if (!curComp || !(curComp instanceof CompItem)) { alert("Please select a Composition."); return; } var tl = curComp.layers.addText("new_text_layer"); tl.position.s...
by fabiantheblind
January 23rd, 2011, 5:06 am
Forum: Scripts Discussion
Topic: Change Text propertys
Replies: 2
Views: 3281

Change Text propertys

Hello, I'm trying to write a little script that builds a timecodelayer for me. Now can somebody tell me how to change the Font and the color and so on? I got this code: buildTimeCode(); function buildTimeCode() { app.beginUndoGroup("build Time Code"); var curComp = app.project.activeItem; if (!curCo...