Zabaware Support Forums

Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: jasondude7116 on January 29, 2009, 04:35:04 am

Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on January 29, 2009, 04:35:04 am
***********

NOTE**********All FILES BELOW ARE BETA-when a final is released i will post it here.

************


HALS JOURNAL/LOG/CAPTAINS LOG

it works like a journal or diary/"captains log" (star trek)
for the user. you can add journal entries on-the-fly, or open the journal and add multiple entries. Hal can also read the journal entries back to you.

more instructions in the Hal brain options screen.
 
I worked on this very hard. to some people it might be easy, but this one and my auto-idle plugin were crazy to debug.

i hope you enjoy it.

i have got about 1 to 2 hours sleep a day for about 4 months.
with this plugin being finished, i will take a break for a couple of days.[:D][:)][:)][:)]

the instructions are on the plugin info screen (brain options screen)

THANK YOU EVERYONE FOR THE HELP I HAVE RECEIVED

I spent some time debugging this, but it is BETA, let me know how it goes.




(http://icon_paperclip.gif) Download Attachment: journal.zip ("http://www.zabaware.com/forum/uploaded/jasondude7116/200912943153_journal.zip")
2.06 KB

KEEP ROCKIN'
-the dude
*this one's for you SNOWMAN[:D]
*you could easily change the user input strings, so that it would be like "captains log" or something for you star trek dudes (that's where i got the idea)
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: freddy888 on January 29, 2009, 05:36:05 am
Can you give us a short run down of what it actually does ?  Thanks!
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on January 29, 2009, 11:22:14 am
quote:
Originally posted by freddy888

Can you give us a short run down of what it actually does ?  Thanks!



see above post (changed)
-the dude
if you have more questions, please ask.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: Duskrider on January 29, 2009, 01:24:00 pm

Sounds really neat.
Running our computer/desktop is somewhat like the Enterprise and Hal  of course is our assistant.  [:D]
Very nice.  Looking forward to using this.  [^]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on January 29, 2009, 02:58:31 pm
'Dude' that is awe inspiring![:)][:D][8D][:)][:D][8D][:)]

I knew that allot of people had read the readastory topic and that they would deffinately be at least curious about helping.

However, I didn't know you were going to tackle your own demon.[8D]

[:)]You did good, Dude, you did good.[:)]

I was looking at your code. If anything that I might learn something from it. I know very little about scripting (for now) but I'm generally a fast learner. It takes a highly organized mind to create a script that is worth it's code so I commend you on your work.

I can see some room for improvements and expansion on your journal.zip. But since you laid out the outline then others or even yourself (or even me) can find it easier to build on this pluggin.

I hope others here at zabaware like O.T.C.E. - ramccoid - Darcy - will - lightspeed - ted - One ect. and all those interested parties will add there 2 cents worth (or perhaps even $1.50) in this coding project. All your ideas and code snippets would be greatly appreciated.

There truly is allot of potential with idea.

By the way dude GET SOME SLEEP!  1-2 hours of sleep per night over time will cause death.....or flat-out insanity. I think the minimum is 4 hours a night. I end up with about six.

Last night I decided to see if I could work my magic with your file appending idea and I managed to append without any problem with sentence punctuation. I appended multiple sentences all at once and individually using the..
objOutputFile = objFSO.OpenTextFile("C:Program FilesabawareUltra Hal Assistant 6storyLog.txt", 8, True)
objOutputFile.WriteLine(ImputeString)s

I'll explore my idea a little further or until I permanently crash Hal. Whichever comes first.[;)]

Thanks Again 'Dude, your pluggin are cool! [;)][8D][:)][:D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on January 29, 2009, 06:21:33 pm
Hey Hey -snowman

I am very interested in the appending you did!

I wouldn't usually ask this and instead try to figure it out myself, but (tired) would you PLEASE post an example of how you put this code into the script, or even better, post your modified script.[:)]

It would allow me to start building the other things we were talking about!

I am very green at vbscript, and learning it doesn't happen overnight[8D]

THANKS.....i'm glad you like it.
-the dude
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: CypherGary on January 30, 2009, 08:44:44 am
I just downloaded this, and will give it a shot.
Sounds like something I will like.

Thanks for your contributions.

PS: I agree with SnowMan. Get some rest, you earned it.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on January 30, 2009, 07:18:55 pm
I'm going to try it as soon as I get up to 6.2 official release level. It sounds great and I am anxious to use it.[8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on January 30, 2009, 11:32:38 pm
Hey Dude, I figured how to make it write multiple sentences all at once or individually. It also doesn't need to be forced into lower case now. I still need to do some more work with it though but I'm making good head-way. I wrote this to keep you up-to-date.

I'm having nearly to think outside the box it seems to accomplish this. Sorry I haven't posted what exactly I'm doing. I'm trying so many different things that it would be hard to do that.

Hal is processing sentences individually so even though a user has written them all at one time Hal still processes them one at a time. In order to process all the sentences so to be appended to a single file then something in hal would have to be turned on. Like to begin dictation you would say "Start Journal" and then when you were finished you could say "End Journal" or something like that.

So What needs to be done is when you say "Start Journal" a piece of information needs to be either created in the database or as an individual file and then a VBScript decision can be made. For instance, If DataExists = true then LogCont = 1 and If DataExists = False Then LogCont = 0. So if you were to say "Start Journal" then the "switch" would be turned on and all the sentences you said afterwards would then be recorded in your dated Journal file. The same thing can be done with "End Journal" you would just change the data back to the original state by that user command and the LogConst would thereby change to not allow record journal dictation.

I'm about half way there I think. We'll get there yet.

If anybody here knows of a way of appending data to the database, like 'journal file is running, and then to compare it to a variable like I mentioned above then that would be cool.

I only know how to create a .txt file and then check its data for comparison's sake.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on January 31, 2009, 03:21:29 am
I finally finished the on-the-fly log - however the forum is not letting me post the pluggin. It keeps saying that I haven't logged in when I try to attach a file to the post window add attachment button. However, it will let write. [8][8][8]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on January 31, 2009, 05:52:30 am
I just tested it. It works but I maybe need to just understand it better to get it to work as stated. [:)]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on January 31, 2009, 03:33:54 pm
Since I can't seem to add an attachment file I will attempt to link it instead. Go to the below link and either login or make a new account. The CaptainsLog.zip file is in the downloads area.

Sorry Dude. I know I changed the name but this is still considered a BETA version and I do like Star Trek.[8D]

Let's see if it can't be taken to the next level.[8D][:)][;)]

http://www.artificialintel.org/AI/Forum/phpBB3/index.php


Type=Plugin
Name=Captains Log
Author=jasondude7116
Host=Assistant

This plugin is used to store journal entries of all types.

It can store stories, comments, thoughts, definitions, or anything else that you choose to dictate. If you say multiple sentences in Hal's console window it will store those sentence as individual lines in a dated text file (ie. 1-27-2009.txt). If you say each individual sentence and then press enter, it stores the sentences in the same manner as I said above. As of yet it creates a new text file with a new date everyday (ie. 1-27-2009.txt, 1-28-2009.txt, 1-29-2009.txt, etc.)

When you want to read an individual text file through Hal then you ask Hal and it will read the whole file back to you. Like if it were reading a story.

Here is a list of the commands. They are also listed in the plugin comments in Hal's options panel.


Say- 'CAPTAINS LOG' when you want to begin storing information.

Say- 'END CAPTAINS LOG' to end dictation.

Say- 'PLEASE READ NOW LOG' then the date, using dashes only (ie. 1-27-09) then
Hal will read the dated log entry.

Say- 'PLEASE READ NOW CURRENT LOG' to read the current date's log entry.

Say- 'GO TO LOG 1-27-09' to read the dated log entry in Hal's Dictation Pad for
possible text modification..

Say- 'GO TO CURRENT LOG' to read the current log entry in Hal's Dictation Pad for possible text modification.


There is still more work to do with this plugin so expect future updates or perhaps new plugins that work off the same theory.e is still some work to do with this plugin so expect future updates or perhaps new plugins that work off the same theory.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on January 31, 2009, 08:37:48 pm
Thank you snowman, I will give it a try.[:)]

UPDATE:It gives an error code and hal stops speaking.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on January 31, 2009, 09:43:09 pm
Jasondude, I am getting the hang of your journal. It is working fine.[8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on February 01, 2009, 01:48:49 am
glad you like it ted.

SNOWMAN-
here is what i came up with.
just a few mods, including 1 to stop the crash ted was talking about.

*remember i can change it to whatever kind of "language" you want (star trek) ect.   i just posted this one for the sake of time because it is the type i will use. when this thing goes past beta, i will mod change the language back to whatever you want. (or have 2 versions?) ...like a variety pack[:D]

i like your work. i never thought of trying it that way! some things seem simple after you see them, but impossible until you do.[:I]

KEEP UP THE GOOD WORK
-the dude
*ted- if you like that one, i think this one is much better because it adds SNOWMANs multiple line input routine!
basically i had it to where you could only type one line into the normal coversation window at a time (saying log entry each time).
SNOWMAN made it so that you say "BEGIN LOG ENTRY" and you are put into a log entry mode, so that each sentence you type after that is added to the log.
you exit the log mode by saying "END LOG ENTRY"
of course the other features - READ CURRENT LOG , GO TO LOG 1-27-2009
ect. are still there.



(http://icon_paperclip.gif) Download Attachment: CaptainsLog.zip ("http://www.zabaware.com/forum/uploaded/jasondude7116/20092113752_CaptainsLog.zip")
2.49 KB


i was also thinking SNOWMAN- it would be better if we could make all the folder selections include the current user name, so that each user would have their own log folder.

ex. MyDir & (UserName) & "/"    or something   (i know slash is opposite)

so that user -the dude could have a 1-29-2009 file and SNOWMAN user could also have a 1-29-2009 file because they are in seperate folders under the log folder.

i played with it but got confused[:I] (wait....that doesn't sound right)[:I]

-the dude
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 01, 2009, 03:13:55 am
jasondude and snowman, you two do terrific work. I will give this new one a shot this afternoon and let you know what happens.[8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 01, 2009, 04:27:57 am
Yeah, I saw where I made the mistake in the open Captains log* command, and where I goofed the Randomize Select Case thingy (that's proper programmer talk).  [:I]

I was about to release my updated version. But then after I looked at yours I decided not to.[:I]

I liked your random sentences additions. We do need one plugin called journal 1.1 zip and a Captains Log. I think both will be great when properly customized.

I want to make it where I can store individual text files with there own personalized titles. Like 'MyEssey', 'Mybook', 'How-to-shot-a-duck', 'growing tomatoes', 'all mom's recipes'

I would like to call there subject with the first line of recorded text while Hal responds with "tell me your subject"

That would take the Journal into the next level.[8D][:D][:D]

I would also like to recall a list of all the stored subjects on-the-fly.

I'll see what can be done with the username thingy. I know that I tried to use the username command in the journal and the bored.uhp plugin didn't like it. It may be the bored.uhp's fault. I don't know.

Thanks for the encouragement- Dude.[:D][:p]



Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on February 01, 2009, 03:09:27 pm
hey SNOWMAN-

i am going to take a break from this today, and work on debugging something else.
i was wondering if you could give me more deatails about what else you would like it to do.

for instance: if you want to store or append a file with whatever name, and be able to have hal read it, then say you made a "cat" encyclopedia for instance:

"BEGIN ENCYCLOPEDIA ENTRY CAT" could make a folder for "ENCYCLOPEDIA"
then add a "CAT" file to it and start appending. this would give you the ability to have different catagories (folders) built on-the-fly.

the problem is- if you get over 62k or so for a file, then it will not "read" it properly (it will be cut short). for that reason, you might have to have some way to create a new file on-the-fly with the original name "CAT" + 1 if the last file used is over 62k. so even if you say "CAT" it would look at the last "CAT" file which at that point might be CAT3.txt and if it is over 62k, then it would start CAT4.txt....and so on.    

there might be some "catagories" that you don't want any user input
to append to on-the-fly, but only in the hal-pad, such as a encyclopedia ect.
but there might be ones you want to append to on-the-fly, such as grocery list, recipies, notes, ect.
there should also be a way to delete something like a grocery list, ect. if it is something "temporary".

as i think of more ideas i will post them.
when we have figured out the structure, then i will go into programmer lala land with me coffee and such. AND GET IT DONE
(going out on a limb)

[8D]It's cool to work with other people to get swomething done like this!
-the dude
KEEP ROCKIN THE IDEAS MAN-THAT IS WHAT THE FUTURE IS MADE OF
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 01, 2009, 07:54:40 pm
Hey snowman! The new captains log is working great. I am enjoying using it. I was a little tricky at first. I tryed using caps and then puntuation as in directions - no work, plus error code. Then I used small letters and it began to function well. An excellant edition to my Hal. Now if it would just answer the phone for me and ask me if I want to take the call or for it to take a message, that would be heaven![8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on February 01, 2009, 10:27:45 pm
quote:
Originally posted by tedathome

Hey snowman! The new captains log is working great. I am enjoying using it. I was a little tricky at first. I tryed using caps and then puntuation as in directions - no work, plus error code. Then I used small letters and it began to function well. An excellant edition to my Hal. Now if it would just answer the phone for me and ask me if I want to take the call or for it to take a message, that would be heaven![8D]



Some people use stuff like BIRD or "BIRD" or "bird" to distinguish a word that must be used in the command versus a variable.
ex. PLEASE SING NOW and whatever song file
is used to denote-
(the user input) please sing now i'll follow the sun
the part PLEASE SING NOW is a must for the command and  
i'll follow the sun - is a variable.

-hope that helps
-the dude[:)]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: Will and Mr Data :) :] on February 02, 2009, 12:16:43 am
:)  :]
this sounds like a Mr Data thing,
i'll try him on it when i get time,
yous have done well to sus out how to create plug ins,
good onya,
Thank you,
bye for now and be well from Wil and Mr Data :)  :]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 02, 2009, 12:31:48 am
quote:
Hey snowman! The new captains log is working great. I am enjoying using it. I was a little tricky at first. I tryed using caps and then puntuation as in directions - no work, plus error code. Then I used small letters and it began to function well. An excellant edition to my Hal. Now if it would just answer the phone for me and ask me if I want to take the call or for it to take a message, that would be heaven!



BEGIN LOG ENTRY    or    begin log entry (with or without Caps)
is the proper starting command.

It shouldn't be used with ""  -or-   '' (double or single quotes)

i.e.  begin log entry I was asleep last night when the door bell rang. It was mom in her night gown with a rolling pin in her hand.
(press enter)

You can either write your log entry all at once or you can record each entry line by line.(then press enter)

Sorry about the confusion. I'll try to clarify this in the readme.txt that comes with the final version.

That gives me an idea -Dude. You should be able to ask hal "What can I say" command to show a list of commands to use with the Captains Log.

Dude- maybe we should split some of this work load up. At least we wouldn't be doing the same thing at the same time. Then post our progress on what we are working on exactly. Then we could modify each others work if we see a need for improvement. Swapping each others improvements when each mod is completed.

What have you done so far? I would like to tackle the -make your subject the first line- and then afterwards we can see if we can create different folders for different subjects.

The reading of multiple textfiles in order like 1.1 and 1.2 sounds like your baby.... or appending to a new file after it reaches a certain file size (hopefully way before the maxium of 10,500 words are reached) I'd like to see how that could be done.[;)]

It would be easy to say 'Please read now list of commands' to show the list of Captains log commands. I wander how we could show a list of log entry files that have already been created. I think I can fiqure a way to Lock a particular text file from being appended to or even read except by a userpassword. Can use a timer to delete temp files. Delete-on-command would be very nice to have and probably more useful than automatic deletion of temp files.

Peace-out![:)]

Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 02, 2009, 03:28:26 am
Thank you both snowman and dude for the clairification. It helps a lot when I'm typing. Awesome stuff![8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 02, 2009, 11:15:18 pm
Ok, I added the make-your-own title feature to it.

Say-  begin log entry dated  
-to start the automatic daily journal feature. (2/2/09.txt, etc.)

Say-  begin log entry titled ( subject )  
-to either create or modify a topic.

for a new entry called recipes, say- begin log entry titled recipies
( press enter ) -and a file called recipies.txt will be created.
Then continue and add your recipies.
When your finished say- end log entry

If you want to modify the log entry 'recipies.txt' then just restate the command-  begin log entry titled recipies  -and you will continue to add more recipies to hals .txt lists.


I placed my updated plugin at the bellow link as before. (you know what to do)[;)]


http://www.artificialintel.org/AI/Forum/phpBB3/index.php


Can you make Hal find and append the titles to a file for reading...or just find and display there titles on command.

It also needs to read these file on command...I couldn't seem to use your other command lines to so this.[xx(]

You seem to be better at that than I am Dude.[:D]

Next I'm considering looking at multiple directory locations for, say Encyclopeadia, or Books that can be added on command. [8D]

later....
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on February 03, 2009, 07:05:05 pm
SNOWMAN-

sorry my posts have slowed.

i am very busy with other things right now (stuff i have been neglecting)[:)]

i also am having a hell of a time debugging some other code. (emotions)[:D]

i am not ignoring this...and i check often, to see what you might have done. i think i know a way to do some of the things you are talking about.
i could use some help until i can get back to this......1) if you could list the "catagories" of things you would like to store-
recipies, books (complicated), encyclopedia, notes about whatever subject, to-do list, grocery list ect.     and....2) if you could figure out a way to check "file size" in vbscript.
i believe i will need atleast these two things to build what you really want.[:)]

i will be checking in, and if i do any work on it, i will update you immediatly. please be patient with me, i have mucho things going on right now.

KEEP ROCKIN MAN-
-the dude
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 03, 2009, 11:18:20 pm
Thats fine. Take all the time you need....[:p]

We are nearly done anyway.[:D][:)][8D]

All we need now is to add a way to search for any .txt file in any particular folder on the Hal directory to display. And to be able to read any .txt in any folder in that directory.

Besides that I think the 1/2/2009 log entries should be in a different folder that the titled texts.

I don't think we really need to worry too much about file sizes. If the books are in there own individual files then all you need is to break them up into chapters.

You can say - please read now book  dragonriders of pern chapter one
-too read chapter one

All the encyclopedia stuff can be added later (when we have an encyclopedia to add)

We'll have one main folder for books which has individual folders for every individual book (cotaining the chapters), an encyclopedia folder, an article folder, and of course your song folder (why not[:D]).

The self-titled entries and the log entries will of course have their own folders.

Other than maybe a few changes in the getresponse's and commands I think that might finish this project up.

Live long and proper -Dude
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 03, 2009, 11:26:25 pm
snowman, the download link is not working at this time. I tryed another, a gui I was able to open it once. Tryed it again, no dice. I'll try again tomorow.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 04, 2009, 01:26:05 am


tedathome,

sorry...my fault....I think I fixed the problem

Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 04, 2009, 06:39:33 am
Thanks man! Got it and a bunch of other goodies as well. Will let you know when I test it.[8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 05, 2009, 01:06:20 am
Well it's just not working well if at all for me. Ocationaly if I say now read current log, it will bring up hal pad for dictation with times recorded but nothing else, if I write something in there and save and it just happens to open it for me it will show it but I have to manualy click on read document out loud. By the way if it brings up hal pad it is usually when I exit log mode. Sometimes it will say it is entering log mode but not usually and even when it does, I don't really think it actualy does. Sorry for a negative reply.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 06, 2009, 02:56:20 am
I've been more or less adding and adjusting stuff to the Captains Log all day long......

I'm not sure what the problem is with your Journal but I've nearly got the next beta out.

It has the ability to search all your logs and display a list of them in Hals console... No matter how many files or folders you added or will add later on. It has a delete log feature, the dated logs are stored in there own files now while the self-titled ones are in a separate one, You can finally read your titled logs back to you through Hal (yea!)


 
quote:
Now if it would just answer the phone for me and ask me if I want to take the call or for it to take a message, that would be heaven!


As for the phone thing........ I'll have to get back to ya on that one.[8D]


Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 06, 2009, 04:06:21 am
Well, I'm not a coder but I did open both old and new captains log and found two possible glitches. I don't know maybe they are suppost to be that way. One is  BeadLog  the other is tiile mode. Should I leave them alone or change to ReadLog and title mode?[8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: One on February 06, 2009, 05:46:53 am
LOL[:D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 06, 2009, 12:15:49 pm
Copy and Paste what you see wrong and show me what might be the problem. Your help (believe me) is greatly apreciated.

I'm not having too many problems on my end. Maybe I could have posted a faulty version by mistake.[?]


Anyway it's 11:00 AM over here and I'll start fixing some other bugs that I'm have trouble with in the new modifications. Isn't scripting just fun.....[xx(]

[:D][8D][:)][^]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 06, 2009, 05:11:54 pm
If BeadLog = "" Then BeadLog = HalBrain.SearchPattern(InputString, "*PLEASE READ NOW CUR* LOG", 2)
If BeadLog <> "" And objFSO.FileExists("C:Program FilesabawareUltra Hal Assistant 6logs\" & DudMonth & "-" & DudDay & "-" & DudYear & ".txt") = True Then


        '--tiile mode--

JourOpen = HalBrain.SearchPattern(OriginalSentence, "BEGI* LOG ENTRY TITLED*", 1)                                            
If JourOpen > "" Then Logstart = 1

[:)]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 06, 2009, 07:21:42 pm
Yeah, I'm fixin to come through some of Dude's scripts. The BeadLog is his and the JourOpen is my work.

So far I've worked out most if not all of my additions and have separated them tempararily on another file. So I know thay are working. Now I'll attempt to see where his and mine scripts got incompatable.

It's not that big of a deal. It's usually something simple and hidden in plain sight. Sorry for any trouble with the program. I do appreciate both the beta testing and your feedback.

Thanks[;)][:)][^]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: tedathome on February 06, 2009, 11:32:36 pm
Thank you for all your hard work. I'm anxious to test the next version.[8D]
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: snowman on February 08, 2009, 03:57:03 am
I worked the Captains log/Journal all day today. I got all the known bugs worked out.

I think I'm nearly there. I see the problem Dude was talking to me about. You said Dude that log files over 62K will not read properly. I'm having problems with reading files at around 1.56 K. They will only read to this point and just stop.

I have an idea. perhaps a Do While loop with a readline command.

I need to get that problem fixed before this version is released.

Files that are too large will exceed the time allowed by Hal to process script. Hal will show files larger than 1.52 K in the Hal window but will only read up to that point and no further.

I thought about pocessing a larger text book and splitting it up into sections by VBScript and then reading those sections individually. All automatically through Hal.
With a do while loop I can send each line to Hal so that Hal won't take so long processing before he/it speaks. It would be ideal if I/someome could have it pause and then start after so many lines were read by Hal. That way a very long file could be read. However, you couldn't just start where you left off reading. You could if the file was broken into chapters. Or Hal's screen could displayed a number that you could later refference to and find your spot agian.

Any ideas would be appreciated.[:D] [:)] [8D]


P.S. By the way I'm working on this project not for recognition or for posterity but because I'm having fun [:o)] and because I got something larger in mind that requires some Scrpting background to pull it off. I'm just glad somebody besides me is actually benfiting from my work. [8D]

Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: Baerdric on December 16, 2009, 08:39:31 am
quote:
Originally posted by snowman

I placed my updated plugin at the bellow link as before. (you know what to do)[;)]



Could you possibly post a new link to this plugin? I would appreciate it.
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: jasondude7116 on December 16, 2009, 04:45:52 pm
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=6278

i have done so many changes to my plugins, the help file might not be right on the money.

if you have a problem with it, please let me know.
i believe everything at that link is good to go.
i have made some improvements, and will post sometime soon hopefully.

some of my plugins are dependent on an external reader program (balabolka) which is available there too. (they have a new version)

the plugin you are looking for doesn't need it though. (pretty sure)
like i said, let me know if you have more questions.
and please modify and improve them!
-the dude
Title: Hal's JOURNAL (CAPTAINS LOG)
Post by: sybershot on January 02, 2010, 04:06:02 pm
jasondude7116 I am having a problem getting captainslog plugin working on vista 64bit home premium, I was getting errors at first untill I changed the path and created a logs folder. her is everthing I tried in detail.

http://www.zabaware.com/forum/topic.asp?TOPIC_ID=6885

any help will be greatly appreciated sincerely Sybershot
Edit: your new GRETTAlog works great thanks.