PDA

View Full Version : AE scripting question


ndeboar
04-13-2005, 08:31 AM
Hey,

Ive got a after effects scripting question, i dont know if this is outside of the scope of this forum but it'll be gold if someone can help takle it.

Im writting a script that will render out everything in the AE render queue, make a webpage that contains links to all the rendered files and upload the files to a ftp (really handy for clients).

Im pretty familiar with C++, i can't find any documentaiton for AE's string functions. When i read the file output i get the full file location eg "c:\files\movie.mov", but all i want is "movie.mov". Any ideas how i would get that? If someone could even tell me what some of the basic character and string functions of AE i could probably do it myself.

Cheers,

Nick

mart1jn
04-13-2005, 11:59 AM
If I'm right there is a "After Effects 6.5 Scripting guide" included with After Effects. I think it will answer all your scripting questions ;-)

The next code gives you the name of a file without the path. it's from the save_&_increment.jsx example icluded with AE

var currFile = app.project.file;
var currFileName = currFile.name;

cheers
Martijn

ndeboar
04-15-2005, 04:30 AM
That give me the AE file name, what i want is the output module file name (eg the name of the file im rendering, movie.mov or whatever).

Ive read the scripting guide a couple times i can can't find anything in there about string or character functions.

Cheers,

Nick

Shinjipierre
04-15-2005, 09:10 AM
If I'm right there is a "After Effects 6.5 Scripting guide" included with After Effects. I think it will answer all your scripting questions ;-)

a LOOOT of things aren't in this guide ;)
after effects scripting ressources :
www.motionscript.com
http://aenhancers.com/
http://www.redefinery.com/ae/

CGTalk Moderation
04-15-2005, 09:10 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.