Zabaware Support Forums
Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: onthecuttingedge2005 on August 30, 2017, 05:31:27 pm
-
Here is the persistent Microphone plugin, that means HAL's window will always stay open.
'Rem Type=Plugin
'Rem Name=Auto ON Microphone
'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 = "Auto ON Microphone, turn on Hal & Microphone at windows logon."
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.
'LETS LAUNCH THE MICROPHONE ON START UP OF WINDOWS.
Script_Load = ShowHal() & Microphone()
Rem PLUGIN: FUNCTIONS
'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.
'SHOW HAL'S PANEL FOR MIC COMMAND SCRIPT LOAD.
Function ShowHal()
ShowHal = HalCommands & "<SHOWHAL>"
End Function
'LETS ENGAGE IN THE MICROPHONE ACCESSORY AND SHOW HAL PANEL.
Function Microphone()
Microphone = HalCommands & "<MICON>"
Exit Function
End Function
and here is the non persistent Microphone plugin. This one can be clicked off.
'Rem Type=Plugin
'Rem Name=Auto ON Microphone
'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 = "Auto ON Microphone, turn on Hal & Microphone at windows logon."
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.
'LETS LAUNCH THE MICROPHONE ON START UP OF WINDOWS.
Script_Load = ShowHal() & Microphone()
Rem PLUGIN: FUNCTIONS
'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.
'SHOW HAL'S PANEL FOR MIC COMMAND SCRIPT LOAD.
Function ShowHal()
ShowHal = HalCommands & "<SHOWHAL>"
Exit Function
End Function
'LETS ENGAGE IN THE MICROPHONE ACCESSORY AND SHOW HAL PANEL.
Function Microphone()
Microphone = HalCommands & "<MICON>"
Exit Function
End Function
Enjoy!
Jerry 8)
-
good too see u at it.... guess work wasnt that big a deal after all...lol
Im teasing...
Im just glad to see some 1 trying to do something with Hal.
best wishes
cyber jedi
-
Now everyone can use all of the commands HAL has available using just those 2 code templates I wrote, a little script can go a long way.
I could upgrade those two codes with plugin options so either one can be selected by a drop box option?
If you want me too that is. I have written code in this forum that allows me to Vb-script Append code, the (Script builds Script) Automatically or Automated Scripting. with it I can build my own program from HAL's Vb-script and then use HAL to run them. which is kind of neat in of itself.
So, anyone else need a script? maybe jedi can help this time. I'm beat, to hot today, all worn out from work. you know the routine..
Want an Edge Secret? You can Edit the HalBrain.dbg live while HAL is working. Plug =N= Play, there is nothing better.
Jerry 8)
-
Edge: Im rather busy with what im doing at the moment
Ive built a whole new interface. But ART should be able to help you.
Art, from what i gather from all his post is some kinda super coder. I guess.
Now that ive cracked how to edit haptek chars with out pple putty, im styling.
Ive also redone haptek player as well.
Best wishes
cyberjedi
P.S Im still waiting on 1 piece of code that ART has produced. Moderators, what a joke.
-
Ah, this is great! Good work!
One issue though, it seems the script load is preloading hal loading himself and causes the program to crash.
Perhaps I am doing it wrong... Just plug it in, right?
Spitfire2600
-
Ah, this is great! Good work!
One issue though, it seems the script load is preloading hal loading himself and causes the program to crash.
Perhaps I am doing it wrong... Just plug it in, right?
Spitfire2600
Hi Spitfire.
yes, it should just plug in from brain options, if you find anything that needs to be addressed then please post so I can debug it, it works great on my system as is.
also when you use it make sure only one of them is selected as a plugin. don't wanna load both at same time might cause an error.
-
Hmm. Yeah, I enable the non-persistent plug-in and restart hal, however for some reason, Hal actually pops up his GUI before his splash screen loads, which then closes the program. When restarting after that, I get the "Hal failed to shutdown properly" splash screen.
I thought maybe adding a timer to the program might correct that and allow Hal to fully load before popping up the GUI, however, my timer method seems to delay the slash screen as well....
-Spitfire2600
-
Hmm. Yeah, I enable the non-persistent plug-in and restart hal, however for some reason, Hal actually pops up his GUI before his splash screen loads, which then closes the program. When restarting after that, I get the "Hal failed to shutdown properly" splash screen.
I thought maybe adding a timer to the program might correct that and allow Hal to fully load before popping up the GUI, however, my timer method seems to delay the slash screen as well....
-Spitfire2600
Hi spitfire.
can you post what code you got that includes the timer so I can see if I can fix it for you?
-
The plug in should work without the timer, right? Do you experience Hals GUI popping up before the splash screen when windows is started and hal starts to load?
-Spitfire
-
Hi Spitfire.
Yea, everything loads up wonderfully on my system, I helped somebody out with the issue you are having but that fix was already written into the plug, he said it was working beautifully so it ended with that. did you try the persistent plugin?
Also, I have had an episode where the Haptek chr didn't pop up during quick loads but soon as I start talking the chr re-appears in the window. I don't know if the Microphone plug can be done any better than it is, I studied it for days to see if I could make it better and tighter but I think that's it other than hard coding it in the engine.
-
I did use the persistent script, however I'm still encountering hals spash screen loading while his GUI is open, then the GUi closes and I have to reopen it manually.
-
Is there a splash screen in one of the folders? is so then rename it to old or something.
-
So, disable the splash screen basically?
-
yea, but keep the splash image, name it something else but don't forget what it was called, add (old) onto or something.
hope it works if not the change it back.
Good luck.
Jerry