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.


Topics - peace

Pages: [1]
1
Ultra Hal Assistant File Sharing Area / arduino control
« on: May 27, 2016, 09:30:27 pm »
have fun..... install notes in the zip file.

2
General Discussion / need help with this plugin
« on: May 20, 2016, 11:55:38 pm »
i was hopeing someone knows the answer to this, i would like to delay hals script for about 1 second
i tried to use wscript.sleep 1000 but im getting all kinds of errors does anyone know how to put a sleep or a sleep like command in a script?
code

If comForm2 = True Then
        Set comxx = CreateObject("WScript.Shell")
        comxx.Run ("""anyfile.vbs""")
       

WScript.Sleep(1000)
End If


i get an error of "object required:"wscript""

i tried to make an object and just got related errors.....
am lost

3
General Discussion / port hal to raspberry pi
« on: April 25, 2016, 02:08:07 am »
can it be done?

4
General Discussion / any one have DreamMachine.uhp
« on: April 11, 2016, 01:07:42 am »
cant find it?

5
Ultra Hal Assistant File Sharing Area / HAL COM
« on: April 08, 2016, 11:06:18 pm »
ok heres hal com you can control an arduino or other device through usb com port through .vbs and cmd.
 thanks to spitfire as i used his datefunction as a template
good luck ...... installation notes are in the zip file




the way this works is hal waits for "on" or "off" then
 opens "com on.vbs" or "com off.vbs"
the .vbs open command prompt (minimized) and sends the correct number to the
correct com port. the arduino listens for a 1 or 0 and turns the pin(13) high or low.
good luck.

use the larger download its modified to use the command "light on", "light off" instead of just "on" which turned on everytime "on" was said


serial function is a seperate plugin from hal com.

serial function plugin
the way this works
you give hal the command "light on" or "light off"  (no quotations)
the script opens a .vbs file that runs serialterm.exe with the required conditions
serial term sends a 1 for on or
a 0 for off
the arduino receives a 1 or 0 turns the light on or off and responds with
"the light os on" or
"the light is off"
serialterm receives the phrase the arduino sent and stores it in a file named log.txt
the the .vbs file closes serial term
serial Function.uhp then pauses for a second to allow log.txt to update
serial Function.uhp then reads log.txt and sends it out as hals responce.

hal com ( sending to arduino only)
serial function  (input output to an arduino)

6
Ultra Hal 7.0 / hal is locking up
« on: February 21, 2016, 05:17:50 pm »
i am having a problem where after about 1 inute of hals ui being opened the program will lock up and become unresponsive, i have to close it. i tried reinstalling it but the same problem continues

7
Ultra Hal Assistant File Sharing Area / hals output to another program
« on: February 18, 2016, 10:00:04 pm »
this is a plugin to send hals output to another program
it copys hals responce to clipboard opens a vbs which opens a program ,pastes hals responce from clipboard and closes the program to return to hal.

r2d2 text to beep is the revised version and should work with all versions of windows for this to work edit the file location in the uhp to match your folders and paste r2d2 translator.exe and r2d2 text to beep.uhp
in you ultr hal folder .........i only have it read about 5 seconds of text which is not enough to read the entire message from hal but i did this so you arent waiting all the time for the beeps to finish. you can adjust this by changeing the amount of time before the translator closes.

                    R2D2 Translator

         (c) Copyright 2008 Roger Meier
              All rights reserved
             
              roger.meier@pobox.com
         http://freeware.the-meiers.org

8
General Discussion / grabbing hals output
« on: February 01, 2016, 12:29:33 am »
i am trying to get an additional messagebox to pop up as hal responds
i actually want to pipe hals output to another program the only piece im missing is how to get hals output into a message box i had a rough start that worked a few times with no errors but it only worked once and when i restarted hal it no longer worked.... can you guys help? heres a plugi that outputs a message box but only at the time you check the plugin box thats as far as i can get without seeing the source code

Rem Type=Plugin
Rem Name=grab hals output
Rem Author= Peace
Rem Host=Assistant

'-----------------------------------------------------------------
'This sub sets up the plug-ins option panel in Hal's options dialog
'-----------------------------------------------------------------

Sub OptionsPanel()
lblPlugin(0).Caption = "This plugin will output hals responce to a messagebox"
lblPlugin(0).Move 120, 120, 3300, 1200
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub


If UltraHal  = "" Then
MsgBox ("123")
Exit Function
End If



once i can get this far i can use hals output for different voices

9
Programming using the Ultra Hal Brain Editor / grabbing hals output
« on: January 31, 2016, 02:42:29 am »
is there a simple script to get hals output on a message box

example  Msgbox (ULTRAHAL)

with a new message box for each responce

im going somewhere with this but i cant figure this piece of the puzzle

Pages: [1]