916
Ultra Hal Assistant File Sharing Area / Hal's JOURNAL (CAPTAINS LOG)
« 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.
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.