Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - knight2000

Pages: 1 ... 4 5 [6] 7 8 ... 11
76
General Discussion / Re: cyberjedi does it again:::
« on: August 30, 2017, 12:32:06 pm »
Awesome Job! I love that its so portable!

I sure wish someone would port Hal over to a more updated language like Python or at least C#. Any news on the Hal 7 release?

77
General Discussion / Re: How to manage Hal's database?
« on: August 30, 2017, 12:26:47 pm »
@OnTheCuttingEdge will do! thanks again. Sorry I probably should have switched the speech engines earlier :(

78
General Discussion / Re: How to manage Hal's database?
« on: August 30, 2017, 10:12:34 am »
@OnTheCuttingEdge Dragon is the problem as you stated earlier, I switched to the default Microsoft speech engine and I did not get that error. Dam, its a fresh install of dragon but who knows what versions are compatible or on. Any ways, your Plugin works great, hopefully I can get the Microsoft engine to work as good as dragon :/

79
General Discussion / Re: How to manage Hal's database?
« on: August 30, 2017, 10:00:30 am »
@OnTheCuttingEdge you've been more then helpful and I'm sure its something wrong with either my Hal setup or something on my end. I'm just happy that its even possible to have Hal startup with the mic on. I'll figure it out and let you know! Thanks for all the help!

80
General Discussion / Re: How to manage Hal's database?
« on: August 29, 2017, 06:07:48 pm »
@OnTheCuttingEdge Thank you for the continued help, however with your latest update hal stays minimized in the taskbar on startup and the mic is not activated. I'm using dragon 13 for my speech recognition on windows 10 64 bit.

81
General Discussion / Re: How to manage Hal's database?
« on: August 29, 2017, 10:58:40 am »
This was the forum I saw before with regards to enabling the mic. You had this issue at one point. do you remember if you got it to work? It was probably before Hal 6.2

Code: [Select]
Unfortunetely <SHOWHAL> is an asynchonous call. It does not wait for Hal's window to finish loading before it runs the next command. And <MICON> requires Hal's window to be completely loaded in order to actually turn the microphone on. Giving the command <SHOWHAL><MICON> at the same time will not turn on the mic since Hal's window doesn't have enough time to load before it tries to turn the mic on.

One solution that I can think of would be to run <SHOWHAL> at startup and <MICON> at some point in the future like maybe in the minute timer. Another possibility worth looking into may be <RESPOND>Turn on the Mic</RESPOND> and you would have to program the Hal Brain to turn on the mic when it receives that command. In theory, the <RESPOND> command will load Hal's window, wait for it to load, and then give that query for Hal to respond to, at which point a <MICON> command could be given to turn the mic on.

Also, command line options for Hal don't need a HalCommands= or anything like that. Just straight HalCommand tags should work fine.


http://www.ultrahal.com/community/index.php?topic=4101.0

82
General Discussion / Re: How to manage Hal's database?
« on: August 29, 2017, 10:32:12 am »
@OnTheCuttingEdge If i go to Hal's settings > general section and update the plugin to the new script it throws the error I attached,  however if I restart Hal with the new update he throws the same error as before "Run-time error '430'

Maybe hal's interface needs to completely load up before the microphone can be enabled. I remember in a post a while back that the mic would not work until Hals interface loads. In your code it looks like they are both loading at the same time. Could you try adding a time in between <SHOWHAL>Timer<MICON>

83
General Discussion / Re: How to manage Hal's database?
« on: August 28, 2017, 01:54:46 pm »
That error also occurs when I type in <MICON> to Hal's textbox.

84
General Discussion / Re: Forum Chat?
« on: August 28, 2017, 10:16:12 am »
Do you mean a live chat? If so then definitely!

85
General Discussion / Re: How to manage Hal's database?
« on: August 28, 2017, 10:15:07 am »
@OnTheCuttingEdge Yes if i comment out the<MICON> it works fine. I've had this issue in the past with the <MICON> command. Seems like anytime you try to activate that command it throws that error. Not sure why.

86
General Discussion / Re: How to manage Hal's database?
« on: August 28, 2017, 12:18:10 am »
@OnTheCuttingEdge The following plugin crashes Hal on start up. I attached the error.

Code: [Select]
'Rem Type=Plugin
'Rem Name=Microphone Auto Loader
'Rem Author=Gerald L. Blakley A.K.A OnTheCuttingEdge2005
'Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Automatically loads Microphone to On at HAL start up."
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub

Rem PLUGIN: SCRIPT_LOAD
'The preceding comment is actually a plug-in directive for
'the Ultra Hal host application. It allows for code snippets
'to be inserted here on-the-fly based on user configuration.

'AUTO LOAD HAL'S MICROPHONE TO ON AT START UP AND SHOW HAL PANEL.
Script_Load = Script_Load & "<SHOWHAL>"
Script_Load = Script_Load & "<MICON>"

87
General Discussion / Re: How to manage Hal's database?
« on: August 27, 2017, 08:59:56 pm »
@lightspeed That was my problem, Hal was auto learning the response. With help from OnTheCuttingEdge i was able to find those responses in Hal's auto learning table. I deleted them and the weird responses are gone.

88
General Discussion / Re: How to manage Hal's database?
« on: August 26, 2017, 11:21:16 am »
Nice plugin! But my goal is to enable Hal and his microphone on startup of windows, this way i wouldn't have to log into the computer and interact with Hal at all. As soon as the the computer would boot up and Hal loads i would be able to give him speech commands. Is this possible without having to touch the source code?

89
General Discussion / Re: How to manage Hal's database?
« on: August 25, 2017, 06:20:50 pm »
Awesome! I'll convert all of mine to the way you showed! Thanks again!

One more thing,
is there any way to auto enable the mic when Hal starts up? So when I boot the computer there would be no need to have to enable the mic, Hal would just start listening. I've played around with the <micon> command and <showhal> but didn't have much luck with it.

Thanks!

90
General Discussion / Re: How to manage Hal's database?
« on: August 25, 2017, 05:12:03 pm »
@OnTheCuttingEdge

I looked in the auto learning folder and found the keyword and BAM!! I found all the weird responses Hal learned. I right clicked, pressed delete rows and the issue was fixed!! lol. Thank you for your help with this issue. Also thanks for the plugin example, I appreciate you taking the time to do that. My plugin already works great for controlling parts of the house, it was just the issue with that weird responses he gave. Would your example eliminate that problem?

Pages: 1 ... 4 5 [6] 7 8 ... 11