Search found 34 matches

by )orgen
July 14th, 2014, 1:51 am
Forum: Scripts Discussion
Topic: Check if render preset or font is avaliable
Replies: 1
Views: 3060

Check if render preset or font is avaliable

Hi I have a project browser running in After Effects, but I would only like it to run if the machine has a list of fonts and render presets avaliable, otherwise I want to alert the user what is missing so they have to install it to be able to run the project browser. Is it possible to check if a fon...
by )orgen
October 1st, 2013, 1:24 am
Forum: Scripts Discussion
Topic: Different font styles in same string
Replies: 1
Views: 1916

Different font styles in same string

Hi is it possible to set multiple font styles in the same string? For example if I wanted all numbers to be formatted with a different font?
by )orgen
March 25th, 2013, 12:08 pm
Forum: Scripts Discussion
Topic: app.project.activeItem index
Replies: 5
Views: 5536

Re: app.project.activeItem index

That is very helpful. Thanks a lot Paul!! ;)
by )orgen
March 24th, 2013, 10:56 am
Forum: Scripts Discussion
Topic: app.project.activeItem index
Replies: 5
Views: 5536

Re: app.project.activeItem index

Hi Paul, what I'm trying to do is to identify what composition is open in the viewer. I'm building a interface for our promoproducers to interact with our after effects templates. When they reopen a saved project I need to know which comp they are looking at. Is it possible to get the name or .id of...
by )orgen
March 22nd, 2013, 5:32 am
Forum: Scripts Discussion
Topic: app.project.activeItem index
Replies: 5
Views: 5536

Re: app.project.activeItem index

Sorry, that does not do what I need it to. I need the index of this object app.activeViewer. (anyone?)
by )orgen
March 22nd, 2013, 4:01 am
Forum: Scripts Discussion
Topic: app.project.activeItem index
Replies: 5
Views: 5536

app.project.activeItem index

Hi, I'm trying to retrieve the index of app.project.activeItem. I get the name by doing app.project.activeItem.name but .index does not work. Any suggestions?
by )orgen
March 22nd, 2013, 3:59 am
Forum: Scripts Discussion
Topic: Run script from script
Replies: 2
Views: 2474

Re: Run script from script

Thanks tapsystem! Found this script which worked well for me var baseFolder = "Z:\\00_Grafikkmaler_Master\\Settings\\(setup)"; var lScript = new File(baseFolder+"\\"+"PromoLauncher.jsx"); var lText = ""; // Load the script's contents into a string lScript.open("r"); while (!lScript.eof) lText += lSc...
by )orgen
February 13th, 2013, 4:06 am
Forum: Scripts Discussion
Topic: Run script from script
Replies: 2
Views: 2474

Run script from script

Hi, I got a scriptfile (pScript) that I want to run from another script, how do I do that? Hope someone can help.

var pScript = new File(baseFolder+"\\"+myTree.selection.parent.parent.toString()+"\\"+myTree.selection.parent.parent.toString()+".jsx");
pScript.open(); ??

Thanks J
by )orgen
February 13th, 2013, 4:02 am
Forum: Scripts Discussion
Topic: Script advice
Replies: 5
Views: 3468

Re: Script advice

That works great, thank you drockne!!
by )orgen
January 25th, 2013, 4:14 am
Forum: Scripts Discussion
Topic: Script advice
Replies: 5
Views: 3468

Re: Script advice

Can I start a ram preview with predetermined settings from a script?
by )orgen
January 25th, 2013, 3:16 am
Forum: Scripts Discussion
Topic: Script advice
Replies: 5
Views: 3468

Re: Script advice

Yess...finally starting to figure this out, cancel those questions ;)
by )orgen
January 24th, 2013, 3:10 pm
Forum: Scripts Discussion
Topic: Script advice
Replies: 5
Views: 3468

Re: Script advice

Ok Im starting understand how little I actually understand about this, but at least figured out how to set the text value:

app.project.item(1).layer(1).property("sourceText").setValue(newText);

Would still appreciate any input on the other two questions!
by )orgen
January 24th, 2013, 7:35 am
Forum: Scripts Discussion
Topic: Script advice
Replies: 5
Views: 3468

Script advice

Hi, I'm attempting to create a ui panel for our promo producers where they can input data into set layers in a project and replace a videofile. They should also be able to send the project to render in the background and I found a script for that. Being new to scripting I have a few questions; Why d...
by )orgen
June 6th, 2011, 6:22 am
Forum: Scripts Discussion
Topic: Time remapped values
Replies: 2
Views: 2598

Re: Time remapped values

Finally got to test this, and it works!!

Thanks a lot Paul! :D
by )orgen
May 11th, 2011, 10:44 am
Forum: Scripts Discussion
Topic: Time remapped values
Replies: 2
Views: 2598

Time remapped values

Hi, as it does not seem possible to time remap the 3d camera, I'm trying to find a way to still get the time remapped values by first precomping the camera and the footage. I was hoping when I then linked the camera in the main comp to the remapped subcomp camera that I could extract the time remapp...