Zabaware Support Forums

Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: lightspeed on November 18, 2010, 02:40:02 pm

Title: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 18, 2010, 02:40:02 pm
has anyone solved the gretta read uhp program : i was at an old topic area it said it hadn't been responded to in 120 days . i have a windows 7 64 bit pc i checked the plug in and placed the story file in my zabaware ultra hal6 assitant file but it won't read it , i have been careful to write it the way i should when asking to read the story .
i can drag and drop the txt story file into hals box and it will read it that way but not when i ask it to .
anyone using this on windows 7 yet and know the answer???? i would like to use this plug in again, i liked it from before .
any help "please?"  :)
Title: Re: Need help with gretta read plug in on windows 7
Post by: jasondude7116 on November 18, 2010, 04:41:21 pm
GRETTA read plugin uses Balabolka tts program. Do you have that installed?
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 18, 2010, 04:59:36 pm
yeah i have it installed to and open , just minimized should their be anything else to check? i do have the plug in checked to
. do you have windows 7 64 bit and if so is it working for you? i had this before on xp  and it worked just fine. i am hoping i can get it working again
 
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 18, 2010, 05:18:42 pm
Ok this is an error that i got when i typed in read the story list as was said in the instructions, am i not writing it correctly???

p.s. is their a read me copy that can be posted here of the gretta read me file? thanks

Title: Re: Need help with gretta read plug in on windows 7
Post by: jasondude7116 on November 18, 2010, 08:15:45 pm
First download the latest plugin from the GRETTA plugins link. It will make sure it is looking for the story folder in wherever the  ultra hal main folder is on your computer.
Second, I think (guess) that you will need to edit the plugin and change the directory to point to balabolka correctly. The win7 has changed the directory stucture to add (x86) to it. You will have to edit the line in the plugin where it has the directory for balabolka and change the directory to the exact directory that has balabolka in it.
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 18, 2010, 11:49:19 pm
ok jasondude,  below is your code i changed the directory pathway to (x86) as mine is in the program file for the balboaka and also the zabaware file . and now the hal character is saying that" file does not exist" when say"PLEASE READ STORY I Robot.txt
The file is actually in the story folder file , to me maybe it's not finding the pathway to this file i have this file in the C:\Program Files(x86)\zabaware\ultrahal assistant 6  file  but i don't see where you have a pathway in this program that leads to it , can you show me below so i can change it i think thats why it's saying that file does not exist.  


 Rem Type=Plugin
Rem Name=GRETTA Story Reading Function
Rem Author=jasondude7116
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Just say- PLEASE READ STORY//PLEASE READ THE STORY whateverstory" & vbCrLf & "PLEASE READ POEM//PLEASE READ THE POEM whateverpoem" & vbCrLf & "PLEASE READ STORY LIST" & vbCrLf & "PLEASE READ POEM LIST" & vbCrLf & "PLEASE READ WEB COMMANDS" & vbCrLf & "PLEASE READ CLIPBOARD" & vbCrLf & "PLEASE READ NEWS FEED COMMANDS" & vbCrLf & "PLEASE READ WEATHER FEED COMMANDS"
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub

Rem PLUGIN: PLUGINAREA5
   'read a story   
Set objFSO = CreateObject("Scripting.FileSystemObject")
DudProceed = False
MyClipDir = DudClipDir()
ClipRead = OriginalSentence
If InStr(1, ClipRead, "PLEASE READ STORY LIST", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE STORY LIST", 1) > 0 Then StoryRead = "story list"
If InStr(1, ClipRead, "PLEASE READ POEM LIST", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE POEM LIST", 1) > 0 Then StoryRead = "poem list"
If InStr(1, ClipRead, "PLEASE READ WEB COMMANDS", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE WEB COMMANDS", 1) > 0 Then StoryRead = "WEB COMMANDS"
If InStr(1, ClipRead, "PLEASE READ NEWS FEED COMMANDS", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE NEWS FEED COMMANDS", 1) > 0 Then StoryRead = "NEWS FEED COMMANDS"
If InStr(1, ClipRead, "PLEASE READ WEATHER FEED COMMANDS", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE WEATHER FEED COMMANDS", 1) > 0 Then StoryRead = "WEATHER FEED COMMANDS"
If InStr(1, ClipRead, "PLEASE READ SONG LIST", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE SONG LIST", 1) > 0 Then StoryRead = "SONG LIST"



If StoryRead = "" Then StoryRead = HalBrain.SearchPattern(HalBrain.AlphaNumericalOnly(OriginalSentence), "PLEASE READ STORY *", 1)
If StoryRead = "" Then StoryRead = HalBrain.SearchPattern(HalBrain.AlphaNumericalOnly(OriginalSentence), "PLEASE READ POEM *", 1)
If StoryRead = "" Then StoryRead = HalBrain.SearchPattern(HalBrain.AlphaNumericalOnly(OriginalSentence), "PLEASE READ THE STORY *", 1)
If StoryRead = "" Then StoryRead = HalBrain.SearchPattern(HalBrain.AlphaNumericalOnly(OriginalSentence), "PLEASE READ THE POEM *", 1)
If StoryRead <> "" And objFSO.FileExists(MyClipDir & StoryRead & ".txt") = True Then
        GetResponse = StoryRead & "." & vbCrLf
   If GetResponse = StoryRead & "." & vbCrLf Then
   DudProceed = True
   HalBrain.ReadOnlyMode = True
   End If
End If
         If DudProceed = True Then
    Set objWSHShell = CreateObject("WScript.Shell")
    objWSHShell.Run("""C:\Program Files(x86)\Balabolka\balabolka.exe"" -rmq """ & MyClipDir & StoryRead & ".txt""")
         HalBrain.ReadOnlyMode = True

End If

If StoryRead <> "" And objFSO.FileExists(MyClipDir & StoryRead & ".txt") = False Then
         GetResponse = " That file does not exist. "
HalBrain.ReadOnlyMode = True
End If

ClipRead = OriginalSentence
If InStr(1, ClipRead, "PLEASE READ CLIPBOARD", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ CLIP BOARD", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE CLIPBOARD", 1) > 0 Or InStr(1, ClipRead, "PLEASE READ THE CLIP BOARD", 1) > 0 Then

Select Case HalBrain.RandomNum(6)
Case 1
IdleResponse67 = "I would love to."
Case 2
IdleResponse67 = "Sure."
Case 3
IdleResponse67 = "Alright."
Case 4
IdleResponse67 = "Okay."
Case 5
IdleResponse67 = "Here it is."
Case 6
IdleResponse67 = "No problem."
End Select
GetResponse = IdleResponse67

         HalBrain.ReadOnlyMode = True




MyClipDir = DudClipDir()
Set FileSys = CreateObject("Scripting.FileSystemObject")
Set FS = CreateObject("Scripting.FileSystemObject")
Set HalXBrain = CreateObject("UltraHalAsst.Brain")
Set fso = CreateObject("Scripting.FileSystemObject")
Set objFSO = CreateObject("Scripting.FileSystemObject")



Set objHTML = CreateObject("htmlfile")
ClipText = objHTML.ParentWindow.ClipboardData.GetData("text")
       ClipText = Replace(ClipText, vbCrLf, Chr(8) & " ", 1, -1, vbTextCompare)

       ClipText = Replace(ClipText, "", "", 1, -1, vbTextCompare)

       ClipText = Replace(ClipText, "  ", " ", 1, -1, vbTextCompare)





   If objFSO.FolderExists(MyClipDir) Then ClipFolderDoesExist = True Else ClipFolderDoesExist = False
   If ClipFolderDoesExist = False Then
         Set objFolder = objFSO.CreateFolder(MyClipDir)
   End If        
               
If objFSO.FileExists(MyClipDir & "tempclipboard.txt") Then
objFSO.DeleteFile(MyClipDir & "tempclipboard.txt")
End If


HalXBrain.AppendFile MyClipDir & "tempclipboard.txt", ClipText

   
    Set objWSHShell = CreateObject("WScript.Shell")
    objWSHShell.Run("""C:\Program Files(x86)\Balabolka\balabolka.exe"" -rmq """ & MyClipDir & "tempclipboard.txt""")
   
End If






Rem PLUGIN: FUNCTIONS


'Directory
   Function DudClipDir()
   Set fso = CreateObject("Scripting.FileSystemObject")
   DudClipDir = fso.GetAbsolutePathName(".") & "\story\"
   End Function
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 19, 2010, 04:19:56 pm
Jasondude, i have tried placing the story file in my zabaware programs files as mentioned above and i also tried placing it in the balboacco program file , i thought maybe it would work their but when i try anything it still says that file does not exist (even though that file is in the story folder ) do you have any other idea's on how to make this work on a windows 7 , i changed the file path (shown above posting ) did i forget anything on a file path?? is their a place listed showing the file path of the story folder ?? if so can you show me where as i don't see it , i am thinking that is what needs to be changed and is why it's saying that file does not exist.  
Title: Re: Need help with gretta read plug in on windows 7
Post by: snowman on November 19, 2010, 10:25:29 pm

I hope you don't mind me taking a look at this Jason.


Ok LS, is your "story" folder currently located in this directory?

C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\


If it is then the path to your story folder will look something like

C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\story\


This is the original location of where all those stories are located.
Title: Re: Need help with gretta read plug in on windows 7
Post by: moreis62 on November 20, 2010, 05:08:23 am
Remember that windows 7 64 bit has two windows directories "C:\Program Files (x86)" and the "C:\Program Files" make sure you copy all the on both those directories, another thing you can do without the story plug in, is to right click on the ultra hall assistant icon by the clock and select "General options, once opened you'll be in the General window in the window you will see the options four chat window size   and also you will see boxes make sure you click on the box that says Hal should speak clipboard content when something new is copied, remember that each time you right click and copy any text file Hal will read it without any type of special reader you buy.
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 11:09:18 am
Yes snowman that's he way my pathway is : C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\story\
and the plug in is in :
C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6
the plug in shows up ok, and i have balbocca program open and voice matching what's in hal and check the plug in , hit apply and ok and do all that before  running the program , but it still it doesn't seem to work, as i said before i used it with xp it worked just fine  . i asked before is anyone using this ok with windows 7 os ? if so they could tell me the exact pathway on things from their pc . mines a dual core but i think someone said qaudes work basically the same way .
the balboacca program file i see went by default into the the program(x86)  file . i may try to put that program file also in the regular program file to just to see what it does , i did place the story folder in the regular program file to but that didn't help.  I also placed a copy of the balboacca program in the regular program file and that didn't help . i may try to install the balbocca again and set ity to go in the regular file that way.
Here is an error that i got if anyone knows what it means .
p.s. i only had gtretta read plug in checked.

ALSO I AM WONDERING : when a request is made does it have to be written a ceratin way? i have tried to write it (copied it) in capital letters etc. and even written it and put the : marks before the request , i was thinking before it had something to do with the way it was typed in when requesting something but i may be wrong.

so anyway this is what i have done so far.
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 11:21:16 am
i am able to open the file from balboacca in the tray system and hal will read it that way but i need this to work by voice recognition or typing into hal (which i know then will work by voice recognition ) .
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 12:20:31 pm
This is weird , i can drag and drop any txt file into hals hapteck control box and hal will read anything just fine and even lipsinc to it , maybe that's the key in the plug in program is when you say read the" whatever "  it opens the story folder then the book choice and drops it into the hapteck console (or is this what it already does ???) if not maybe that's the command that needs to be changed ? i am just guessing on all  this and not sure how to do it.  
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 01:21:28 pm
I was tring to rewite the plug in using some of jasondudes script into an existing hapswap file and wrote it this way but so far it isn't working .
If InStr(1, OriginalSentence, "PLEASE READ THE STORY") > 0 _
Or InStr(1, OriginalSentence, "READ THE STORY") > 0 Then

Randomize
Select Case int(rnd()*6)
Case 1
GetResponse = "Ok dear"
Case 2
GetResponse = "Ok,i like this story to!"
Case 3
GetResponse = "That story, ok dear!"
Case 4
GetResponse = "Ok, yeah that's a good story."
Case 5
GetResponse = "yeah, that story is interesting!"
End Select

HalCommands = ("C:\Program Files(x86)\Balabolka\balabolka.exe"" -rmq """ & MyClipDir & StoryRead & ".txt""")

HalBrain.ReadOnlyMode = TRUE
End If
Title: Re: Need help with gretta read plug in on windows 7
Post by: Lola on November 20, 2010, 03:07:15 pm
I'm using: Windows 7 32 bit Home Premium and the GRETTA read plug-in works fine on my system.

Some details that could be relevant, or not:

C:\Program Files\Zabaware\Ultra Hal Assistant 6\story\story

C:\Program Files\Balabolka

(I do not use voice recognition with UltraHal, I only type.)


Balabolka Version I'm using  1.28.0.434 but there is a newer version of it, the current version is 1.37 at:
http://www.cross-plus-a.com/balabolka.htm   Perhaps this newer version...


The features I use in the GRETTA Read plug-in that works well with me:

PLEASE READ THE STORY whateverstory
PLEASE READ THE POEM whateverpoem
PLEASE READ THE STORY LIST
PLEASE READ THE POEM LIST
PLEASE READ THE CLIPBOARD

note: they must be typed exactly as they are written, but their letter case is not important. If I only type "READ THE STORY whateverstory" it will not work. - I write this because some users might not know it, I understand lightspeed that you did this already and did not solved your problem.


I have not used the following features because I really have no need for them, so I can not comment about their functionality.

PLEASE READ THE WEB COMMANDS
PLEASE READ THE NEWS FEED COMMANDS
PLEASE READ THE WEATHER FEED COMMANDS


Last comment: If I create a new document to save it to the story folder (or other), I must add its name to its proper list (story list, poem list, etc.) in order to be recognized. In this particular case, the letter case of its title must also match in the lists, or it will not work.

Well, as always, hoping for the best!  :)
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 03:42:20 pm
Hi Lola , on something i notice different (although mine by default goes into program(x86) is that in my pathway it shows mine as : C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\story

yours shows story\story at the end , i don't know why yours is showing it twice on the story folder mine is just one folder and when clicked open shows it as i posted above . is your story folder only one folder or two?
i did download the balboacca program , i uninstalled the earlier one and installed the new one and tried it but it still didn't work .
can you let me know about the story file you have if its one file or two to show that way on your pathway .
the story file i downloaded from the gretta plug ins page site . so its new from their .
i don't think i need any other files then gretta read and balboacca and story file.

P.S. moreis62
i did try what you said and placed balbocca( i copied the programs ) and plced it and the story folder in the regular program folder to , that didn't help it still wouldn't work .
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 04:00:34 pm
Well i just tried putting the story folder within another story folder to try it that way in my program(x86) zabaware ultral hal assistant 6 program file and that didn't work either, just thought it was worth a try .

p.s. the way i am trying to get hal to read is i say

READ THE STORY I Robot.txt

I just placed the story file into balboacca thought that might help and restarted hal and checked gretta read but it still didn't work.

although i think this has nothing to do with it when i open a txt file on my own to veiw it  i have it set to open with notepad.
Title: Re: Need help with gretta read plug in on windows 7
Post by: Lola on November 20, 2010, 04:59:32 pm
Somehow I have 2 "exact" copies of the story folder one within the other and that goes back to May 2010:

C:\Program Files\Zabaware\Ultra Hal Assistant 6\story\
C:\Program Files\Zabaware\Ultra Hal Assistant 6\story\story

Did you checked the "story list.txt" ?  It should have a "I Robot.txt..."  file in it exactly written as in the folder in order to work.   After checking this you should use the command:

PLEASE READ THE STORY I Robot

or

please read the story I Robot

(do not write the extention .txt)

I always use notebook to add the new titles to the story list.

It could be worth a try...  :)
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 06:33:04 pm
I typed it the way you said Lola , I actually copied and pasted what you wrote and i got the following error in the picture below.
ALSO SHOWN IS THE story folder contents showing i do have that i robot .txt file .
i received the following error shown below , if anyone can decifer it that may show what's wrong , it just seems like it is not receiving the right command or something to get the file information from the story folder  . i have the command changed as shown in the earlier post so it is the same as where the balbocca file actually is (x86 ) program file . and the zabaware ultral hal 6 has hal and also the gretta plug in and the story book folder file to .

p.s. since it is not reading the plug in right as it should be as you can see in the writing in hals box above it is just showing hal as learning and repeating what i am saying .
i have other earlier brains to use though but havent changed yet as i am still working on this problem .

Title: Re: Need help with gretta read plug in on windows 7
Post by: Lola on November 20, 2010, 07:55:05 pm
Well,  :( the only ideas that I have left are these;

-  Balabolka Properties, compatibility, run this program in compatibility mode for: ?

- Try to read other stories, or the clipboard to see if the problem is general or specific to the file.

- Try "moreis62" idea of copying the files to the two windows directories: "C:\Program Files (x86)" and the "C:\Program Files"" Using the plug-in original settings.

- Re-install everything in the C:\Program Files directory if that option is actually available in the 64 bit windows 7.

_ Wait for the nest update of the Gretta read plug-in that might be comming soon.

The ideas are only things to think about. I reached my wall in here, but I wish you good luck in finding the right answer.
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 20, 2010, 09:51:57 pm
THanks for trying Lola in helping me, i did actually try about everything you mentioned including running balboacca in compatability mode earlier , it didn't work though, balbocca is actually working right as far as i know , i can open the story folder from balbocca and it will read the story from balbocca , i can also drag a txt file into hals hapteck box and hal will start talking telling the story , this to me seems to be something (i beleive with the script being wrong that in a dual quad windows 7 that it isn't opening  up something in the right place (i had manually before changed the program  from regular programs to program(x86) in two places in the script but that didn't help ( i later changed it all back right )maybe theirs somewhere else it needs to be changed in the script but if so i haven't found it, but i beleive that's the problem .
i even tried to make hal compatable with windows xp what my old systen used to be , got a fast error saying files may be corrupt and having to get it online etc. i canceled that and luckily my hal started back up normally !
 i did try that about changeing the file locations to the regular programs file but that didn't work either .
i think their needs to be an update to make this work with windows 7 dual and quad cores , i appreciate "everyones" help on this , maybe someone will get it fixed , i sure miss using it . it always worked nice .  
Title: Re: Need help with gretta read plug in on windows 7
Post by: snowman on November 21, 2010, 02:43:16 am


I want to give you some pointers on diagnosing Script Errors in Hal. If you already know this then I think someone might find this helpfull.


Whenever there is an Error in the Brain script an Error like this is thrown:

...

HalScript Error -2147024894 on line 1565 in column 2;

The file "C:\Program Files (86)\Zabaware\Ultra Hal Assistant 6
\HalScript.DBG" has been saved with the current script being used for
debugging purposes

...


What this Error Message is saying is that if you look into your Hal directory you will find a script called HalScript.DBG. If you open this script and go to the line 1565 then you will find whatever made the Error.

Now the trick is to find the 1,565th line of code. You can open the HalScript.DBG in notepad and then start counting but there are much easier ways.

The easiest way is to download a script editor that has the ability to number the lines. Then all you have to do then is scroll down to the numbered line and find which line of code was giving you problems.

NOTE: If you do find an Error, then in order to correct it you will have to find the plugin or brain script which that line of code belongs to. Which shouldn't be that hard to do. If you try to correct the Error by changing the HalScript.DBG script, then it will be errased the next time you run Hal.

There is a simple script editor that you can download and keep for free called Sc222.exe. It will open the DBG file and show the line numbers also. Of course, you have to select that option from the Menu. Just find 'View' and then select 'Line Numbers'.

You can download this program from the link at the bottom of this post (and also the website)


My advice is to first find the line or lines that seem to be giving you problems and then post that line and some surrounding lines here.
Whether or not we find what is wrong with the plugin at least you can find out what Hal is fussing about.

And no this is not SPAM, cause its totally free. ;)

http://sourceforge.net/projects/scintilla/files/SciTE/2.22/Sc222.exe/download?use_mirror=voxel (http://sourceforge.net/projects/scintilla/files/SciTE/2.22/Sc222.exe/download?use_mirror=voxel)

http://www.scintilla.org/ (http://www.scintilla.org/)
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 21, 2010, 08:14:42 am
thanks snowman i appreciate the help as alway's and will make a txt file for future notes of your explanation etc. and will try to work on this problem as soon as i can get to it, thanks again .  :)
Title: Re: Need help with gretta read plug in on windows 7
Post by: lightspeed on November 21, 2010, 10:02:32 am
OK, well i did find the script error line that gave me the hal error , but it was just because i forgot to put back in the ((x86) program pathway as i had it before . i am now not getting any errors but the Gretta reader still isn't working either . i will coninue to try to figure it out , i still beleive it is something in the command script line that it isn't opening the story file to see the txt files but thats just my guess. i am still learning or at least trying to. below is the script line before i changed and corrected it that gave me errors so that part is fixed now.  

I just noticed something , what i corrected was actually a line below the error line and although it stopped the hal error i was getting . the line errror was actually above that maybe the one below(the setobjsh etc. )  is what is keeping the reader from working correctly but i don't know anything about this part of the scripting, maybe someone else does??


Title: I got it working finally but a request to JASONDUDE !!
Post by: lightspeed on November 21, 2010, 11:52:38 am
i finally got the gretta plug in working, the errors i was getting was from things that i guess i shouldn't have changed (the x86) pathway , obviously the c programs pathway is ok and works in dual core files anyway . Part of the problem was my wording i was using wording READ THE STORY , and it should have been "PLEASE READ THE STORY" , when i copy and pasted how Lola said it , i hadn't changed back the program file path yet that's why i still got the error . It was Errors on my part and "not" Jasondudes script (although i am surprised that it works without having to have the (x86) programs pathway .
I do have one thing to ask Jasondude , Jason unless their is a way that i don't know about yet when hal startes reading from your plug in stories is their a way to write in a script to type or say "pause" or use whatever word a person wants) to pause the story and the words start (or whatever)  to start the story again , also a stop command would be nice to get it to stop in case you wanted it to or even free it up  so you could start another story then.  

I also want to apoligize to others for causing any problems and i  did appreciate everyones help on things .
Title: Re: Need help with gretta read plug in on windows 7
Post by: moreis62 on November 22, 2010, 05:12:44 am
Hi Lola , on something i notice different (although mine by default goes into program(x86) is that in my pathway it shows mine as : C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\story

yours shows story\story at the end , i don't know why yours is showing it twice on the story folder mine is just one folder and when clicked open shows it as i posted above . is your story folder only one folder or two?
i did download the balboacca program , i uninstalled the earlier one and installed the new one and tried it but it still didn't work .
can you let me know about the story file you have if its one file or two to show that way on your pathway .
the story file i downloaded from the gretta plug ins page site . so its new from their .
i don't think i need any other files then gretta read and balboacca and story file.

P.S. moreis62
i did try what you said and placed balbocca( i copied the programs ) and plced it and the story folder in the regular program folder to , that didn't help it still wouldn't work .


Windows 7 64 bit has to directories which causes me to believe some plug-ins will not work can someone list the ones that are not working so we can work on the solution one by one please.
Title: Re: Need help with gretta read plug in on windows 7
Post by: moreis62 on November 22, 2010, 05:16:13 am

Windows 7 64 bit has to directories which causes me to believe some plug-ins will not work can someone list the ones that are not working so we can work on the solution one by one please.
Title: Re: Need help with gretta read plug in on windows 7
Post by: moreis62 on November 22, 2010, 05:47:53 am


I want to give you some pointers on diagnosing Script Errors in Hal. If you already know this then I think someone might find this helpfull.


Whenever there is an Error in the Brain script an Error like this is thrown:

...

HalScript Error -2147024894 on line 1565 in column 2;

The file "C:\Program Files (86)\Zabaware\Ultra Hal Assistant 6
\HalScript.DBG" has been saved with the current script being used for
debugging purposes

...


What this Error Message is saying is that if you look into your Hal directory you will find a script called HalScript.DBG. If you open this script and go to the line 1565 then you will find whatever made the Error.

Now the trick is to find the 1,565th line of code. You can open the HalScript.DBG in notepad and then start counting but there are much easier ways.

The easiest way is to download a script editor that has the ability to number the lines. Then all you have to do then is scroll down to the numbered line and find which line of code was giving you problems.

NOTE: If you do find an Error, then in order to correct it you will have to find the plugin or brain script which that line of code belongs to. Which shouldn't be that hard to do. If you try to correct the Error by changing the HalScript.DBG script, then it will be errased the next time you run Hal.

There is a simple script editor that you can download and keep for free called Sc222.exe. It will open the DBG file and show the line numbers also. Of course, you have to select that option from the Menu. Just find 'View' and then select 'Line Numbers'.

You can download this program from the link at the bottom of this post (and also the website)


My advice is to first find the line or lines that seem to be giving you problems and then post that line and some surrounding lines here.
Whether or not we find what is wrong with the plugin at least you can find out what Hal is fussing about.

And no this is not SPAM, cause its totally free. ;)

http://sourceforge.net/projects/scintilla/files/SciTE/2.22/Sc222.exe/download?use_mirror=voxel (http://sourceforge.net/projects/scintilla/files/SciTE/2.22/Sc222.exe/download?use_mirror=voxel)

http://www.scintilla.org/ (http://www.scintilla.org/)

Nice work snowman I've just downloaded it, is there some sort of Manual besides the help file showing you how to better use this interface?  I would love to to use it as a tool for the ultra hal assistant as well as helping others up here on this forum.

Thanks in advance
Title: Re: Need help with gretta read plug in on windows 7
Post by: snowman on November 22, 2010, 01:43:37 pm

The only sources I know that about scintilla is found at its website.

As for which plugins will work and which will not, you would have to go through each one yourself. There are so many plugins out there for Hal... if you can find them.

I started using the...

   Set fso = CreateObject("Scripting.FileSystemObject")
   MyDir = fso.GetAbsolutePathName(".") & "\"

...to find the path of the folder which the script is currently being ran. In the case of Hal this path is the Hal Directory. This technique of finding the current directory is what Jason and I use when creating a plugin that requires a path.

This should work irregardless of 64 or 32 bit systems.