Search found 112 matches

by redefinery
May 19th, 2006, 10:16 pm
Forum: Scripts Discussion
Topic: UI updates
Replies: 5
Views: 12036

refresh

Hi knubile, I haven't found a way to force a refresh while a script is running, other than dumping the info to the ExtendScript Toolkit's console or Info panel. Are you updating a statictext control? If so, does it work any better if you use an edittext control (assuming it'd be OK for your needs)? ...
by redefinery
May 18th, 2006, 8:50 pm
Forum: Scripts Discussion
Topic: Create Outlines
Replies: 4
Views: 11501

text bounds

I'm not aware any ability to create outlines via scripting.

Jeff
by redefinery
April 27th, 2006, 8:51 pm
Forum: Scripts Discussion
Topic: Reading Timecode from a QT file?
Replies: 19
Views: 55508

TC

Is this the Timecode track in a QuickTime movie or burned-in timecode? I'm not aware of anything available to do either via scripting.

Jeff
by redefinery
April 27th, 2006, 8:36 pm
Forum: Scripts Discussion
Topic: autorun script on project launch?
Replies: 1
Views: 6525

run on project open

I'm not aware of an elegant way to do this (e.g., an onProjectOpen callback). If you're using AE 7, I suppose you can run a repeating task (app.scheduleTask()) that polls app.project, but note that in 7 there's always an open project (i.e., app.project != null). Also, although you might want to chec...
by redefinery
April 12th, 2006, 6:40 pm
Forum: Scripts Discussion
Topic: Test a script for me
Replies: 2
Views: 7302

different layer types

Hey Byron,

I can get it to stop working on line 84 if my comp has a camera layer, or other layer type that doesn't have source data. Be sure to test comps containing other layer types, like lights, text, etc.

Hope this helps.

Jeff
by redefinery
April 11th, 2006, 12:35 pm
Forum: Scripts Discussion
Topic: SIGGRAPH Boston
Replies: 1
Views: 6114

siggraph

I'm not sure at this time if I'll be able to attend this year, but please keep us informed if there is sufficient interest in a BOF meeting.

Jeff
by redefinery
April 8th, 2006, 1:11 pm
Forum: Scripts Discussion
Topic: Moving Items into a Folder
Replies: 4
Views: 12287

Item parentFolder is read/write in AE7

Hi ScottG,

If you are using AE 7, you can use the Item parentFolder attribute which is now read/write; it was read-only in AE 6.5.

Jeff
by redefinery
April 7th, 2006, 7:08 pm
Forum: Scripts Discussion
Topic: Checking for template validity
Replies: 5
Views: 10699

Accessing OM templates

Hmm, I can sometimes see the error you're talking about in the try block and othertimes get the error in the catch block. See if changing the OM reference from outputModules[1] to outputModule(1) to see if it makes a difference. Also, are you doing this in AE 6.5 or 7? If in 7, are you launching the...
by redefinery
April 7th, 2006, 9:03 am
Forum: Scripts Discussion
Topic: Checking for template validity
Replies: 5
Views: 10699

Error object

Hey Byron, The "e" is the Error object. It looks like you're trying to print it out as a string along with your message. If so, use e.toString() or e.message (e.name would return "Error"). If you're just wanting your error string, then don't prefix the e variable to it. Otherwise...
by redefinery
April 6th, 2006, 9:38 am
Forum: Scripts Discussion
Topic: Checking for template validity
Replies: 5
Views: 10699

template checks

Hey Byron, Because those templates are referenced by name, that's the only way I know of to detect for the existence. I had to do something similar (add a temp comp to the RQ) in my rd: Render Layers script (http://www.redefinery.com/ae/view.php?item=rd_RenderLayers) to retrieve the list of availabl...
by redefinery
April 3rd, 2006, 12:45 am
Forum: Scripts Discussion
Topic: copying a image sequence
Replies: 6
Views: 15013

Detecting image sequence files

Hi Mike, I'm not aware of any method to get this info. Although you can make some assumptions about the file name based on the footage item's name (e.g., if it contains a range in brackets, it might be an image sequence. However, if you didn't import the entire sequence, or you renamed the footage i...
by redefinery
March 31st, 2006, 12:43 am
Forum: Scripts Discussion
Topic: can one define label colours in a script?
Replies: 1
Views: 6596

No layer label control

Hi Scott,

I'm not aware of a way to set a layer's label.

Jeff
by redefinery
March 26th, 2006, 5:40 pm
Forum: Scripts Discussion
Topic: function parameters+appendation to name variables? possible?
Replies: 2
Views: 7782

why needed?

Scott, First, why are you wanting to define variables in this way? The "parameter" is just the local name for the value that you pass into the function, so if you're wanting names based on it, just type them out as you want. If you're passing in a name (prefix) and you're wanting to create...
by redefinery
March 26th, 2006, 12:53 am
Forum: Scripts Discussion
Topic: variation on precomp to duration...
Replies: 9
Views: 15827

scripting resources

Scott, Most of my JavaScript knowledge I learned as part of web development, either from books like the JavaScript: The Definitive Guide book by David Flannagan or what I could find on the web. As for AE-specific scripting resources, I list the ones I'm aware of in the "additional scripting res...
by redefinery
March 25th, 2006, 11:34 am
Forum: Scripts Discussion
Topic: variation on precomp to duration...
Replies: 9
Views: 15827

script analysis

Hi Scott, In general, the script works in certain cases. However, if you need to make the script more robust so that it can handle other layer types or conditions, here are a few notes: - [line 43] Need to use comparison operator: myLayers.length == 1 - [lines 51-53] Be sure to check different layer...