Search found 33 matches

by mads
October 24th, 2010, 11:42 pm
Forum: General Scripts Library
Topic: Apply Inverse Kinematics
Replies: 0
Views: 9646

Apply Inverse Kinematics

I made a script to apply the inverse Kinematics system shown by Dan Ebberts here http://www.motionscript.com/design-guide/ik.html * Place the Script in the UI folder * create Effector Layer. Which is the guide layer that you animate and the Arm or Leg follows * select 5 layers in THIS! order: Body,u...
by mads
July 6th, 2009, 10:58 am
Forum: Scripts Discussion
Topic: linear() in scripting
Replies: 3
Views: 8754

Re: linear() in scripting

I try to make my own linear:

Code: Select all

function linear(input,fromMin,fromMax,tooMin,tooMax){
	input = Math.min(input,fromMax);
	input = Math.max(input,fromMin);
	var y = (((tooMax-tooMin)/(fromMax-fromMin))*(input-fromMin))+tooMin;
	return y;
}
but have to test it...
by mads
July 6th, 2009, 10:41 am
Forum: Scripts Discussion
Topic: linear() in scripting
Replies: 3
Views: 8754

Re: linear() in scripting

This could also be a more general questions

-How do I Use expression function like 'toComp()', 'fromWorld()', 'ease()', 'linear()' e.t.c. in a Script?

-Mads
by mads
July 6th, 2009, 6:30 am
Forum: Scripts Discussion
Topic: linear() in scripting
Replies: 3
Views: 8754

linear() in scripting

I want to Use a function like the expression function linear() in my Script how do I do that?
-mads
by mads
June 29th, 2009, 3:40 am
Forum: Scripts Discussion
Topic: UI Panel event-handling callbacks
Replies: 1
Views: 5944

UI Panel event-handling callbacks

I'm Doing a UI Panel to manipulate the Layers of the current selected Composition. So I need to refresh it when im going to use it. To display the Layers of the current selected comp(Which could be changed). Right now i have a refresh button. But I was thinking if there was a event- handling like wi...
by mads
June 25th, 2009, 4:26 am
Forum: General Scripts Library
Topic: Mr. Multplane 1.5 for CS4 ScriptUi Panel
Replies: 1
Views: 12913

Mr. Multplane 1.5 for CS4 ScriptUi Panel

Hey I modified Paul Tuersley´s Script PSDto3D and made a Script UI Panel with sliders for more flexible Use
I use it a lot hope some others can use It
:-) Mads
by mads
December 5th, 2008, 1:39 am
Forum: Expression Discussion
Topic: puppet tool fake multiplan
Replies: 1
Views: 7906

puppet tool fake multiplan

I got this idear to make a single image move like multiplan
if I put som puppet tools piont on the layer and put different expressions on so they would react on the camera as if they were placed in different z coordinates
but I have no Idear how to make this exprssion any ideers?
-mads
by mads
February 13th, 2008, 2:45 am
Forum: Scripts Discussion
Topic: read write Logtype problem?
Replies: 1
Views: 6395

read write Logtype problem?

I cant figure out to red write the renderQuee logtype
I have one renderItem and I use this code

app.project.renderQueue.item(1).outputModules[1].logType = LogType.ERRORS_AND_PER_FRAME_INFO


but It doesnt work? is it a bug?

-mads
by mads
February 2nd, 2007, 4:01 am
Forum: Scripts Discussion
Topic: Selected Mask Vertices
Replies: 1
Views: 7285

Selected Mask Vertices

Is there anyway to detect which mask vertices there is selected?

-mads
by mads
June 15th, 2006, 2:20 am
Forum: Scripts Discussion
Topic: run script command prompt
Replies: 3
Views: 11209

ok I found a way

af i write this in command line og in the target og the short cut

i run a script called'a.jsc' located in my root

"C:\Program Files\Adobe\After Effects 6.5\Support Files\AfterFX.exe" -s var a = new File("C:\a.jsx") ; a.open();eval(a.read())

-mads
by mads
June 13th, 2006, 6:39 am
Forum: Scripts Discussion
Topic: run script command prompt
Replies: 3
Views: 11209

run script command prompt

two questions

-Is it possile to run a Script on a open instance of After Effects with the windows command prompt?

-Is it possible to make after effects automatically run scripyt when you double click a script file?


-Mads Juul
by mads
March 2nd, 2006, 12:52 am
Forum: Scripts Discussion
Topic: auto trace layer in 6.5
Replies: 2
Views: 8518

thank you I will not investigate further

-mads
by mads
March 1st, 2006, 7:43 am
Forum: Scripts Discussion
Topic: auto trace layer in 6.5
Replies: 2
Views: 8518

auto trace layer in 6.5

is it possible to auto trace layer in 6.5 via scripting?
(is it in 7.0)?

-mads
by mads
February 21st, 2006, 2:57 am
Forum: Scripts Discussion
Topic: wrong comp.duration;
Replies: 1
Views: 6792

wrong comp.duration;

if I execute this code in 6.5(i dont know about 7.0)

Code: Select all

myComp = app.project.activeItem;

myComp.duration = 0.08;

alert(myComp.duration);
I get this prompt: 0.07999999821186

something is wrong or is it me?

-mads
by mads
June 22nd, 2005, 8:00 am
Forum: Scripts Discussion
Topic: app.quit() in startup folder
Replies: 7
Views: 14654

app.quit() in startup folder

I knowhow to start after effects with windows scheduled tasks tho run a script from the startup folder . but I dont know how to quit after effects when my startup scripts is finished if I use: app.quit() in a start folder script After effects chrashes And i get a error dialog i have to munually clic...