Search found 320 matches

by Dan Ebberts
April 3rd, 2006, 12:30 pm
Forum: Expression Discussion
Topic: Save a time value
Replies: 17
Views: 29210

OK - give this a try. In a fresh comp, create a null and name it "template". Animate it tracing out your path over a fixed period (say 4 seconds). Use roving keyframes so the speed is constant. Add a slider (range 0 to 100) to "template" and name the slider "travel". No...
by Dan Ebberts
March 30th, 2006, 4:07 pm
Forum: Expression Discussion
Topic: Save a time value
Replies: 17
Views: 29210

You'd have to write an expression that loops through the timeline frame by frame to check for the event.

Or else, you could write a script to find the event and leave the time in a slider value - something like that anyway.

Dan
by Dan Ebberts
March 7th, 2006, 12:09 pm
Forum: Script requests
Topic: Help?!
Replies: 1
Views: 6979

2D rotation? It would look something like this:

-comp("main comp").layer(thisComp.name).rotation

Dan
by Dan Ebberts
October 5th, 2005, 12:31 pm
Forum: Script requests
Topic: continuously update text from a excel file
Replies: 6
Views: 13690

If you can convert the excel file to a text file (in a format that a script can make sense out of) it shouldn't be too tough.

Dan
by Dan Ebberts
August 30th, 2005, 4:39 pm
Forum: Scripts Discussion
Topic: Altering precomps
Replies: 2
Views: 7900

Yes, and if you do it that way you'll also have to go into the duplicate main comp and replace the instance of the template map comp with the new duplicate of that comp.

I think your other idea is better - move the maps into the main template.

Dan
by Dan Ebberts
July 6th, 2005, 10:48 pm
Forum: Scripts Discussion
Topic: app.quit() in startup folder
Replies: 7
Views: 14701

Did you try adding app.quit() to the end of your script?

Dan
by Dan Ebberts
June 20th, 2005, 6:13 am
Forum: Scripts Discussion
Topic: fileSystem modified attribute question
Replies: 6
Views: 13113

I see what you're saying now. It appears to be broken in a strange way. I get a cluster of files with the same time and then another cluster with a different time, etc., when each file should have a unique time. Strange.

Dan
by Dan Ebberts
June 19th, 2005, 12:29 pm
Forum: Scripts Discussion
Topic: fileSystem modified attribute question
Replies: 6
Views: 13113

I just ran your script and got:

Sun Mar 07 1999 08:26:40 GMT-0800

(Which interestingly is an hour off what Windows Explorer says).

I don't have a clue as to why it doesn't work for you.

Dan
by Dan Ebberts
April 22nd, 2005, 6:40 am
Forum: Expression Discussion
Topic: Import position data
Replies: 6
Views: 15837

>Does this usually work ? Yes, you only have to copy the data from Notepad, select the target layer, and paste. The keyframe data will find it's way to the Position property (AE 6.5). >Am I doing something wrong ? Somewhere in the process. Does your keyframe data in Notepad look something like this:...
by Dan Ebberts
April 20th, 2005, 6:05 am
Forum: Expression Discussion
Topic: Import position data
Replies: 6
Views: 15837

Do a side-by-side comparison of the text generated when you paste AE position data into a text editor with the the text generated by your script. The header stuff has to match exactly. Maybe your script was written for an earlier version of AE?

Dan
by Dan Ebberts
April 14th, 2005, 2:40 pm
Forum: Expression Discussion
Topic: Time offset from keyframes
Replies: 5
Views: 13218

Byron, I'm not sure exactly what you're trying to do. Do you want the animation in the precomp to start at the time where the marker is in the main comp? If so, you need to calculate your offset based on the difference between the time of the first keyframe (comp("Main Comp").layer("N...
by Dan Ebberts
April 11th, 2005, 8:55 pm
Forum: Scripts Discussion
Topic: try...catch
Replies: 6
Views: 20820

The only thing I can think of is turning off the preference that enables the debugger. Kind of a pain though.

Dan
by Dan Ebberts
April 6th, 2005, 2:09 pm
Forum: Scripts Discussion
Topic: Setting a property vs calling a property's method
Replies: 6
Views: 13000

I think most of the key points have been mentioned, but let me contribute my simplified summary. Part of the confusion stems from 'propertry' not meaning the same thing in AE scripting as it does in JavaScript. I think this is because layers had 'properties' before AE had scripting. In AE, a propert...
by Dan Ebberts
March 10th, 2005, 10:31 am
Forum: Scripts Discussion
Topic: propertyValueType query
Replies: 5
Views: 11910

Just using a simple script like this:

alert(PropertyValueType.NO_VALUE);

I get

NO_VALUE = 4812
TwoD_SPATIAL = 4815
CUSTOM_VALUE = 4819
MARKER = 4820
MASK_INDEX = 4822

Dan
by Dan Ebberts
December 18th, 2004, 1:52 pm
Forum: Expression Discussion
Topic: need help
Replies: 2
Views: 9982

Change your expression to something like this:

value*thisComp.layer("Null 1").effect("Slider Control")("Slider")/100

With the slider set at 100 you'll get your original animation. Adjust to suit.

Dan