Page 1 of 2
Cantr transcript reversing program
Posted: Wed Jul 21, 2004 10:48 pm
by The Industriallist
I've just finished a program which seems to be reliably capable of correctly changing Cantr transcripts from bottom-up order to top-down. I would be happy to make this available, but I don't have a server to make it accessable from. It's an executable JAR file, so it ought to be usable on any computer (provided you have java...)
If people want I might be able to make an applet out of it instead. I'm not to sure about that. Certainly not until the weekend.
Posted: Wed Jul 21, 2004 11:33 pm
by Thomas Pickert
What's the input it needs? Do you c/p events into a textfield that your application provides, and another textfield shows the lines in reversed order? What exactly does it do?
Posted: Thu Jul 22, 2004 1:26 am
by The Industriallist
If I made it an applet, it would do that, but it will take me some time to get there. As it is it takes from one text file and saves to another. First an "open file" dialog box for the input, then a "save" dialog box for the output, then it does its work with no interface whatsoever.
It knows how to identify the first line of a cantr event (by its datestamp, incidentally) and uses that to split the input into events, which it then outputs in the opposite of the direction it read them in.
Posted: Thu Jul 22, 2004 1:28 am
by Thomas Pickert
Just checking for CR/LF doesn't do the job?

Posted: Thu Jul 22, 2004 1:31 am
by The Industriallist
Multiline events aren't supposed to have their lines reversed
That part of it had me stumped a few months ago.
Then I was going to use the blank lines between events as a marker. But there are no such blank lines in email event reports.
ooh, I forgot to test it on those... It ought to work, but I have to check...
Posted: Thu Jul 22, 2004 1:36 am
by Thomas Pickert
E-Mail reports are in the top-to-bottom order already, no?
And technically, there aren't any multiline events. Events are one line, where the end of the line is denoted by a CR/LF character.
It might be, though, that the editor you c/p it to adds such characters.
How would your application treat an event like this?
253-6: You say: "That's what I want to happen around 254-6: I want to talk about something important."
Posted: Thu Jul 22, 2004 1:48 am
by The Industriallist

I just noticed that about email reports. Never really looked at them, I guess.
Your example would only cause a glitch if the second datestamp was right at the beginning of a line. If it were it would be regarded as a second event...
As for the multilining, if it is artificial on my end it could come from my browser or my OS, but I don't think from my editor. Could be wrong, I guess. Single line events handle fine too.
Posted: Thu Jul 22, 2004 1:53 am
by Thomas Pickert
It's a nice gadget you developed, no matter whether it works with newline characters or with other measures to identify single events.
Some people might find it useful for quotes and such.
Good work.

Posted: Thu Jul 22, 2004 1:59 am
by The Industriallist
But no one can use it.
Except me. Actually, I needed it for personal use anyway... one of my characters has pages of unreversed transcripts.
It's only 2 kb.

Posted: Thu Jul 22, 2004 2:18 am
by west
You could post it to the 'files' section of the old Yahoo! board...if you can wade through all the porn bots.
Posted: Thu Jul 22, 2004 2:28 am
by The Industriallist
If that is a good idea, and it won't actually try to kill my computer, I could try it.
I don't know where it is, though.
Posted: Thu Jul 22, 2004 2:38 am
by west
Posted: Thu Jul 22, 2004 2:54 am
by The Industriallist
It's there. Going to be a pain for people who don't use AOL (like me, normally) to get to, though.
Posted: Thu Jul 22, 2004 8:23 am
by The Hunter
Ummmm... Yahoo boards?
Send the file to me. I can host it.
Posted: Tue Jul 27, 2004 7:54 pm
by The Hunter