Search found 19 matches

by peteoconnell
May 23rd, 2009, 9:56 am
Forum: Scripts Discussion
Topic: place an item in a specific folder in the project panel
Replies: 2
Views: 6783

Re: place an item in a specific folder in the project panel

Cheers. I had forgotten about that one.
Pete
by peteoconnell
May 23rd, 2009, 9:54 am
Forum: Scripts Discussion
Topic: add a comp to a comp?
Replies: 2
Views: 7424

Re: add a comp to a comp?

Thanks, that's a pretty efficient way of doing it.
Much obliged
Pete
by peteoconnell
May 22nd, 2009, 9:19 am
Forum: Scripts Discussion
Topic: place an item in a specific folder in the project panel
Replies: 2
Views: 6783

place an item in a specific folder in the project panel

Hi, is there a method for moving an item to a specific folder in the project panel. I can't find anything about it in the scripting PDF.
Pete
by peteoconnell
May 22nd, 2009, 9:17 am
Forum: Scripts Discussion
Topic: add a comp to a comp?
Replies: 2
Views: 7424

add a comp to a comp?

Hi, I am not sure if this is a really obvious one but what I am trying to do is place a comp within another comp. In the AE interface this would be that same as dropping a comp onto the comp icon at the bottom of the project panel.
Thanks
Pete
by peteoconnell
March 28th, 2009, 8:36 pm
Forum: Scripts Discussion
Topic: File.changePath not working
Replies: 1
Views: 6065

File.changePath not working

Hi, according to the Object Model Viewer in the Extendscript Toolkit, the File class has a method called changePath which I can't get to work. For example, here I am trying to move a file from my desktop to my documents folder. var theFile = File("~/Desktop/theTextFile.txt") theFile.change...
by peteoconnell
March 24th, 2009, 10:06 pm
Forum: Scripts Discussion
Topic: _compareImagesAndGenerateResultForAutomatedTesting()
Replies: 2
Views: 8254

_compareImagesAndGenerateResultForAutomatedTesting()

_compareImagesAndGenerateResultForAutomatedTesting()

Hi, all I can find out about this method is that it requires 5 parameters. Is there anywhere to get documentation on these obscure methods?
Pete
by peteoconnell
March 24th, 2009, 10:03 pm
Forum: Scripts Discussion
Topic: filePutDialog doesn't create a file?
Replies: 2
Views: 6953

Re: filePutDialog doesn't create a file?

Thanks very much, that's very helpful.
Cheers
Pete
by peteoconnell
March 24th, 2009, 2:08 pm
Forum: Scripts Discussion
Topic: filePutDialog doesn't create a file?
Replies: 2
Views: 6953

filePutDialog doesn't create a file?

Hi, when I run the following line of code:

Code: Select all

filePutDialog("Select File","MyProject.aep","EggP aep");
I expect an aep file to be created, but nothing happens. Am I missing a step?
Thanks
Pete
by peteoconnell
December 4th, 2008, 11:11 pm
Forum: Scripts Discussion
Topic: outputModule new File help
Replies: 2
Views: 7572

Re: outputModule new File help

Thanks Paul
Pete
by peteoconnell
December 3rd, 2008, 8:11 am
Forum: Scripts Discussion
Topic: How to get app.project.item(1)'s path?
Replies: 5
Views: 12792

Re: How to get app.project.item(1)'s path?

Hi Jeff thanks for you explanation. I sent an email to Todd Kopriva asking about maybe getting some kind of comprehensive inheritance tree for the next scripting guide.
Pete
by peteoconnell
December 2nd, 2008, 11:07 pm
Forum: Scripts Discussion
Topic: How to get app.project.item(1)'s path?
Replies: 5
Views: 12792

Re: How to get app.project.item(1)'s path?

Hi Jeff thanks for your answer. I pretty sure "Path" isn't mentioned as far as I can tell under "FootageItem object" and if you happen to look under "Item Object" rather than "FootageItem object" File isn't listed as a possible property. I sort of understand w...
by peteoconnell
December 1st, 2008, 11:32 pm
Forum: Scripts Discussion
Topic: How to get app.project.item(1)'s path?
Replies: 5
Views: 12792

How to get app.project.item(1)'s path?

Hi, I can't seem to find anything in the documentation about getting a certain item's path. I am making a script that batches some sequences into mov proxies and what I can't seem to do is access each sequence's folder's path to tell the mov file to write itself to that location.
Help
Pete
by peteoconnell
October 9th, 2008, 9:48 pm
Forum: Scripts Discussion
Topic: outputModule new File help
Replies: 2
Views: 7572

outputModule new File help

Hi I am making a little script to automate making MOVs from AVIs and also to have the new file be saved to the location of the original. Everything seems to be working fine except on the last line I get an error. Anyone know what I'm doing wrong? var theDuration = (app.project.item(1).duration); var...
by peteoconnell
September 7th, 2008, 8:56 am
Forum: Scripts Discussion
Topic: setting a property to an expression from within script
Replies: 2
Views: 7341

Re: setting a property to an expression from within script

Thanks Dan that did the trick.
Pete
by peteoconnell
September 5th, 2008, 12:36 pm
Forum: Scripts Discussion
Topic: setting a property to an expression from within script
Replies: 2
Views: 7341

setting a property to an expression from within script

Hi I am making a script that makes an adjustment layer with a levels effect on it and I would like the the rgb gamma property to be an expression deriving its value from the input white property. Although I can get the expression to work as a simple number eg: myComp = app.project.activeItem; mySoli...