Here is as after effects script I've used on the Mac for a while now, it generates subtitles at layer markers using a text file. It's great for burning in your subs and you don't have to enter timecode, just hit * where you want the next line to appear/disappear. I hope you find it useful. My hidden agenda for posting however is weather any javascript wizards out there can spot how to make it work on a pc (I have been searching for the original script for some time now). Thanks in advance
This is not the correct forum for this kind of help, we would recommend you post this on Adobe's scripting forum. There's lots of scripting experts there that should be able to help you with this issue.