Search found 3 matches

by lloydwood
February 28th, 2012, 10:55 am
Forum: Scripts Discussion
Topic: Passing args on the command line
Replies: 0
Views: 6653

Passing args on the command line

Hello,

Is there a way to pass arguments when running a script from the command line?

Code: Select all

afterfx -r script.jsx
I have script that dumps the paths of footage in the project to a text file but I need to be able to give it some arguments so I can run it over a bunch of aeps.

Thanks,

Dan
by lloydwood
December 23rd, 2011, 4:38 am
Forum: Scripts Discussion
Topic: Does the XML object actually work?
Replies: 1
Views: 5811

Re: Does the XML object actually work?

I've now actually bypassed this and used a command line python script to parse the XML. It gives me more flexibility anyway.
by lloydwood
December 23rd, 2011, 2:28 am
Forum: Scripts Discussion
Topic: Does the XML object actually work?
Replies: 1
Views: 5811

Does the XML object actually work?

Hello, I'm trying to read an XML with the XML object but I'm getting unexpected results. I'm using the following code to read in the XML and then create an XML object. function parseXML(path) { var xml_file = new File(path); xml_file.open ("r", "XML"); var lines = xml_file.read()...