Search found 15 matches

by lya98
August 18th, 2008, 11:50 am
Forum: Scripts Discussion
Topic: Moving the current time indicator
Replies: 2
Views: 7374

Re: Moving the current time indicator

So it appears you can set the value of comp.time. I couldn't find this in the scripting guide however...
by lya98
August 18th, 2008, 11:46 am
Forum: Scripts Discussion
Topic: Moving the current time indicator
Replies: 2
Views: 7374

Moving the current time indicator

Hi!

Is it possible to move the current time indicator within a script?
by lya98
August 14th, 2008, 8:28 am
Forum: Scripts Discussion
Topic: Exporting AE transforms to Flash
Replies: 0
Views: 6090

Exporting AE transforms to Flash

Hey All, I'd like to export position, scale, and rotation from AE and dump it into Flash. I'd want to apply the transforms in Flash to the same assets that I used in AE. I'd dump the transforms from AE into a text file, probably formatted as XML, but I'm not sure how I'd get that data into Flash. An...
by lya98
February 20th, 2008, 8:19 am
Forum: Scripts Discussion
Topic: iterating through XML to create Markers
Replies: 7
Views: 16419

Re: iterating through XML to create Markers

here were 2 brackets missing after the read command in your code Ouch! Sorry about that. I must not have copy and pasted that part! That kind of thing often trips me up when working with new objects. i still get an "undefined" as last output in my console window though. any ideas where th...
by lya98
February 19th, 2008, 3:22 pm
Forum: Scripts Discussion
Topic: iterating through XML to create Markers
Replies: 7
Views: 16419

Re: iterating through XML to create Markers

Here's how I do it: //load the path to the XML file var filePath = "/g/Automation/test.xml" //create a new file object using the path aafileObj = new File(filePath); //open the file with read privledges aafileObj.open("r","TEXT","????"); //read the file as a s...
by lya98
February 9th, 2008, 3:03 pm
Forum: Scripts Discussion
Topic: iterating through XML to create Markers
Replies: 7
Views: 16419

Re: iterating through XML to create Markers

Thanks Dale! After reading up on XPath I ended up doing this: //filter out the nodes that are used as markers using xpath var MarkerNodes = XmlObj.xpath ("//*[@mark = 'true']"); Which allows me to iterate through the remaining XML like an array. for (i = 0; i <= MarkerNodes.length(); i++){...
by lya98
January 27th, 2008, 2:33 pm
Forum: Scripts Discussion
Topic: iterating through XML to create Markers
Replies: 7
Views: 16419

iterating through XML to create Markers

Hello, The new forum looks great! Lets say I've got an XML file that looks like this: <CJ> <vidPlayerTextFrame mark="false"> <vidPlayer mark="false"> <Trans_IN mark="true">Side</Trans_IN> <vidName mark="true">blarg - brand</vidName> <vidID mark="true"...
by lya98
January 9th, 2008, 8:23 am
Forum: Scripts Discussion
Topic: Function to get Project Item by Name
Replies: 1
Views: 7660

Thanks!

Thanks for posting! It's pretty useful. I'm surprised there isn't a built in function to retrieve a comp items name.
by lya98
November 15th, 2007, 8:39 pm
Forum: Scripts Discussion
Topic: property cycling via index
Replies: 1
Views: 7218

property cycling via index

Is it possible to get the index for the total number of property
groups in a layer as well as the index for the total number of
properties within the group?
Thanks!
by lya98
May 31st, 2007, 3:26 pm
Forum: Scripts Discussion
Topic: region of interest
Replies: 1
Views: 6213

region of interest

Hi all, Can I reference and set the region of interest in JS? I haven't been able to find any documentation about it. What I need to do is render out a bunch of stills from various times in the comp. I want to set the region of interest to the bounds of a layer and then render out the comp with an o...
by lya98
May 30th, 2007, 11:42 am
Forum: General Scripts Library
Topic: layer Position to .txt (extract coordinates)
Replies: 8
Views: 30153

Very usefull! Thanks!
by lya98
April 17th, 2007, 8:36 am
Forum: Scripts Discussion
Topic: Convert to Hold keyframes, output frames in between
Replies: 4
Views: 9944

Wow! That was way beyond anything I expected. Thanks a lot Paul! I'll take your advice the next time I post.
by lya98
March 26th, 2007, 8:14 pm
Forum: Scripts Discussion
Topic: Convert to Hold keyframes, output frames in between
Replies: 4
Views: 9944

Convert to Hold keyframes, output frames in between

Hi All, I'd like to write a script that would automate a couple repetitive tasks I have to do for each animation I create. 1. I'd like to be able to select a number of adjacent keyframes on a single layer and have them converted into hold keyframes 2. Have each hold keyframe rendered out (using an o...
by lya98
March 6th, 2007, 7:34 am
Forum: Scripts Discussion
Topic: Outputting the XY coordinates of a layer
Replies: 3
Views: 8943

Thanks Byron! That would be super helpfull.
by lya98
March 5th, 2007, 2:39 pm
Forum: Scripts Discussion
Topic: Outputting the XY coordinates of a layer
Replies: 3
Views: 8943

Outputting the XY coordinates of a layer

Hi,

I'd like to output the XY coordinates of a layer and write it into a text file. Is this possible? Thanks.