Page 1 of 1

Scripting program...

Posted: Tue Jul 27, 2004 11:52 pm
by Levi
No not programming scripting, a script database for Speech and theater productions. I'd like to create a program that'll allow for a database of such scripts and then give two forms of help in memorizations. One for monologues and the other for dialogues.

I once attempted this and managed to get it to display each individual line up to each period. This however was a big bust when it came to large scripts. So I need to start from the beginning however I don't know exactly how to make a viable database for this. I had originally made it create different sub directories in the install directory and each had a file that held all of the info on what scripts were and wer not there. But I think I'd prefer having one file that kept track of it all.

Also I'm looking into a method for displaying each indidividal person's line for a dialogue piece in different colors. I have the idea and with my previous program a special way to do it. But I was wondering if anyone else ever tried something along these lines? And if anyone has any pointers.

what

Posted: Tue Aug 03, 2004 5:29 pm
by Jesus McBean
I dont think anyone understands what your trying to do

Posted: Tue Aug 03, 2004 6:08 pm
by Nodtveidt
You could develop some kind of scripting language, where each line of text in your file is either a command or a piece of dialogue. How I do such a thing is to have commands inside of special characters (usually pipe symbols or HTML-like characters). For example: say you got a piece of dialogue which is said by Joe Schmo, you might have a line that says this:

Code: Select all

|DIALOGUE|JOE SCHMO
Hi, I'm Joe Schmo and I am teh l33t0rz!
Your program would look for any line that begins with the | character and process that line as "code", so to speak. This is just a rough example, I'm sure you can probably figure it out from there. :D