Command line scripting

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
djbennyj
Posts: 11
Joined: April 7th, 2009, 5:47 am

Hi.

I had an idee.

I saw we could lanch scripts by command line.

It means, i could launch script remotely, with ssh for example.

But could i send dome variables?

I mean, if i build a PHP page, then add some form, with the shell_exec() function, i can lauch my scripts.

But could i send into AE, the value i entered in my php pagethen lanch my script, do some changes in my project wih the script, auto render my clip?
Yenaphe
Posts: 84
Joined: February 3rd, 2009, 6:30 pm
Location: Paris - France
Contact:

That could be possible.

Your php page could create a file on your server, something like "myparams.txt" and then in your script, #include it.

be sure your text file looks something like that:

option1 = "value1";
option2 = "value2";

etc so your script can use these variables.
djbennyj
Posts: 11
Joined: April 7th, 2009, 5:47 am

Wow, good iddea, the file creation.

If i succeed, i'll be able to launch my script without going to work ehehe
Post Reply