Expressions/Scripts/Presets

Search found 34 matches

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

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
Tue Oct 01, 2013 1:24 am
Forum: Scripts Discussion
Topic: Different font styles in same string
Replies: 1
Views: 1439

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
Mon Mar 25, 2013 12:08 pm
Forum: Scripts Discussion
Topic: app.project.activeItem index
Replies: 5
Views: 3814

Re: app.project.activeItem index

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

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
Fri Mar 22, 2013 5:32 am
Forum: Scripts Discussion
Topic: app.project.activeItem index
Replies: 5
Views: 3814

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
Fri Mar 22, 2013 4:01 am
Forum: Scripts Discussion
Topic: app.project.activeItem index
Replies: 5
Views: 3814

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
Fri Mar 22, 2013 3:59 am
Forum: Scripts Discussion
Topic: Run script from script
Replies: 2
Views: 1979

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...
by )orgen
Wed Feb 13, 2013 4:06 am
Forum: Scripts Discussion
Topic: Run script from script
Replies: 2
Views: 1979

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(); ?? ...
by )orgen
Wed Feb 13, 2013 4:02 am
Forum: Scripts Discussion
Topic: Script advice
Replies: 5
Views: 2774

Re: Script advice

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

Re: Script advice

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

Re: Script advice

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

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
Thu Jan 24, 2013 7:35 am
Forum: Scripts Discussion
Topic: Script advice
Replies: 5
Views: 2774

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
Mon Jun 06, 2011 6:22 am
Forum: Scripts Discussion
Topic: Time remapped values
Replies: 2
Views: 2131

Re: Time remapped values

Finally got to test this, and it works!!

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

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...