Page 1 of 1

Using setProxy with dialog to pick file sequence

Posted: July 6th, 2007, 11:43 am
by milesl
Hello, I'm looking to use setProxy() on a sequence within my project. Can't seem to figure out how to get the dialog to come up. I've tried every variation I can think of, but am pretty new to this so was hoping someone could point me in the right direction.
Right now I have,

//var dbFooty = app.project.importFileWithDialog();
// // imports main footage sequence
//var dbProxy = app.project.item(1).setProxy(file, "");

and so I can't seem to figure out what to put instead of the "" if I don't already know the path or file type and want to select it with a dialog interface.
Thanks for any help!
Miles