Search found 114 matches

by davestewart
August 1st, 2006, 6:03 am
Forum: Scripts Discussion
Topic: Defining a path
Replies: 1
Views: 6926

Sure, you just need the points in some sort of format (.csv works for me), then read the file (easy), parse the file contents to an array (easy), then set the camera's position on each frame (easy).

I assume that that your path is just points, rather than in / out vectors as well?
by davestewart
July 7th, 2006, 5:58 am
Forum: Scripts Discussion
Topic: Determining Width and Height of a Text Layer
Replies: 62
Views: 125698

Absolutely.
by davestewart
April 3rd, 2006, 7:37 am
Forum: Expression Discussion
Topic: Save a time value
Replies: 17
Views: 29216

Just realized that this is in the expressions conference... sorry!
by davestewart
April 3rd, 2006, 6:02 am
Forum: Expression Discussion
Topic: Save a time value
Replies: 17
Views: 29216

This code works on a left / right / left wiggly path... You need a comp with 2 layers: travelling and falling. Every time the travelling layer goes over 300 px it executes the code ONCE, until it then goes under 300px ... then it waits for the next time it goes over. var comp = app.project.activeIte...
by davestewart
April 3rd, 2006, 5:11 am
Forum: Expression Discussion
Topic: Save a time value
Replies: 17
Views: 29216

What's your goal byron?
by davestewart
March 28th, 2006, 2:32 pm
Forum: Scripts Discussion
Topic: again, an undefined error...
Replies: 5
Views: 11337

Or should that be "On a bad day..." ?
by davestewart
March 28th, 2006, 2:32 pm
Forum: Scripts Discussion
Topic: again, an undefined error...
Replies: 5
Views: 11337

On a good day, it's possible to learn LOTS of things! ;)
by davestewart
March 17th, 2006, 3:40 am
Forum: Scripts Discussion
Topic: ExtendScript Editor
Replies: 0
Views: 5917

ExtendScript Editor

Wahoo! Well done Adobe ... this is brilliant!

The databrowser implimentation could be a lot better, but the interactive ability is brilliant. I've been using Crimson, but the interactive debugging is great.
by davestewart
March 11th, 2006, 2:54 pm
Forum: Scripts Discussion
Topic: Is there any way to activate a window via scripting?
Replies: 2
Views: 8135

No luck so far...
by davestewart
March 11th, 2006, 12:43 pm
Forum: Scripts Discussion
Topic: Is there any way to activate a window via scripting?
Replies: 2
Views: 8135

Is there any way to activate a window via scripting?

app.project.activeItem is read only - but I want to bring a comp window to the front. Is there any way to do that?

Cheers,
Dave
by davestewart
March 5th, 2006, 6:05 pm
Forum: Expression Discussion
Topic: using valueAtTime() on individual channels
Replies: 3
Views: 14957

Hilarious. You make it sound like herpes or something!
by davestewart
March 5th, 2006, 5:19 pm
Forum: Expression Discussion
Topic: using valueAtTime() on individual channels
Replies: 3
Views: 14957

Hi Robby, The problem arises because you are calling the valueAtTime method on a Number (position[1]), not a position Value (position): //bad position[1].valueAtTime(time - 0.1) //good position.valueAtTime(time - 0.1)[1] You may find it easier to understand things in future if you break your code up...
by davestewart
March 4th, 2006, 2:35 am
Forum: Scripts Discussion
Topic: Running scripts from the command line: Scripting Guide ERROR
Replies: 2
Views: 15198

Running scripts from the command line: Scripting Guide ERROR

The example code in the Scripting Guide to launch scripts from the command line contains a grammatical error, that will cause your scripts NOT to run. Basically, the code therin is formatted using an em-dash – rather than a hyphen - (as Windows expects). If you were to copy and paste the code to a...
by davestewart
March 4th, 2006, 2:09 am
Forum: Scripts Discussion
Topic: Default directory
Replies: 3
Views: 9409

Thanks vidpat, Sure I could - and that's probbaly what I'll end up doing. For the record, Folder.current only worked for teh current evaluation of a script. As soon as it was done executing, Folder.current reverted back to /Support Files. It seems odd (but understandable) that you can't set it! Any ...
by davestewart
March 3rd, 2006, 8:12 pm
Forum: Scripts Discussion
Topic: Default directory
Replies: 3
Views: 9409

I'll play with

Code: Select all

Folder.current