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 - Psych

Pages: 1 [2] 3 4
16
Programming using the Ultra Hal Brain Editor / Medeksza - DDE timescale
« on: January 28, 2004, 08:56:42 am »
Hi

I know you must be extremely busy - but wondered if you had any idea of timescale regarding the DDE bug with Hal?

Thanks

Psych


17
Larry

You need to get hold of Visual Basic Programming software (e.g. VB6). Once you have that you can write programs to do almost anything on your PC (the code is all very similar to hal's brain code [which is Visual Basic Script...they are similar, but a little different]).

DDE is the method that programs (such as those written in VB6) can talk to each other, and to Hal.

The only problem at the moment, as Mr Medeksza pointed out, it that there is a problems with Hals' DDE - which he hopes to correct.

Get yourself a copy of VB6 - familiarize yourself with it. Then we can talk about programming and Hal.

Mr Medeksza: You see, once DDE is working, and we explain to people the potential this brings - some great stuff could happen!

Psych

18
Thanks Mr Medeksza - I eagerly await your correction to this bug. I Know you are very busy, but please try to find the time - thanks.

Larry - what am I trying to do? - I have a range of programs running on my PC which I have written in VB6. By using DDE I can get these programs to talk directly to Hal. For instance (and there are many other uses for DDE) it is important with one of my programs that it is not interrupted by hal talking (I have Hal's auto-response always running so that he can spontaneously talk from time to time). With DDE, my program can turn Hals auto-response on and off when required.

Similarly, it should be possible to write lines of code into Hals Brain so that Hal can send information directly to other programs running on the PC.

So as you see, the potential with DDE is to more fully integrate hal into the functioning of the other software on your PC - its fascinating.

Psych

19
Hello everyone,

I do not seem to be getting a reply from Mr Medeksza, so does anyone-else out there have any experience with DDE.

My problem is that any variation of standard DDE protocol seem unable to establish a response from the Hal program. Mr Medeksza has provided the linktopic frm reference (frmRightClick), but still it does not seem to work.

Any programming wizards out there with some answers????

Psych

20
Mr Medeksza

I am very grateful for your advice so far.

However, when inputing your code into vb6, I get a message "No foreign application responded to DDE initiate".

The code I used was as follows:

Private sub Form_Load ()
With Text1
.LinkMode = 0
.LinkTopic = "HalAsst|frmRightClick"
.LinkMode = 2
.LinkExecute "<SPEAK>MESSAGE PASSED SUCCESSFULLY</SPEAK>"
.LinkMode = 0
End With
End Sub

I have tried several variations, but still get the same error message

I assume I am making a basic error in defining LinkTopic - can you tell me what it is?

Thanks for your help


Psych


21
Programming using the Ultra Hal Brain Editor / Don
« on: January 07, 2004, 05:25:18 am »
Thanks Mr Medeksza

I'll post my subsequent developments in the near future

Regards - Psych

22
Programming using the Ultra Hal Brain Editor / Don
« on: January 02, 2004, 05:10:52 pm »
Hi Don

Thanks for your friendly and detailed reply.

However, my main problem concerned the <AUTO>30000</AUTO> code given to us by Medeksza. I have found that if I try to shutdown windows at the time <AUTO>30000</AUTO> is sending a signal to Hal, then windows will not shutdown. I have temporarily resolved this by using a 'forced shutdown' program, which forces Hal to shutdown. Nevertheless, a more elegant solution would be to have a program which sends(whenever windows wants to shutdown)a dde command to hal telling him to terminate the <AUTO>30000</AUTO> procedure.

Since writing to you, I have read up on DDE and it seems that I need the identity of the Hal-subprogram which must receive the dde command.

An even simpler solution would be to send the commaqnd directly to Hal's text window. However, to do this the text window needs a name - and Medeksza has not provided it with one.

It is unfortunate that Medeksza did not reply to my earlier note on this topic. No doubt he is very busy.

Anyhow, thanks Don for your support. I was very interested in your comments on autism, and have found relevant literature which I will read.

Thanks again

Psych

23
Programming using the Ultra Hal Brain Editor / Don
« on: December 24, 2003, 06:31:30 am »
Hi Don,

I mailed you a copy of my Hal Brain as you requested.

I haven't heard anything back, so wondered if you got it?

Regards

Psych

24
Programming using the Ultra Hal Brain Editor / Don/Medeksza - help with DDE
« on: December 12, 2003, 05:29:17 am »
Hi

I am trying to write a vb6 programm to pass commands to Hal through DDE.

However, I am not sure what to link the commands to (ie which of hal's various windows) - Can you offer any help....or even and example.

On another note: I have Hal running in 'auto-response' mode. However, when I try to shutdown windows (XP) I now often get the command: Unable to quit Hal. Is this because at that moment Hal is trying to make a call with 'auti-idel'? If so, what can I do about it?


Thanks - and bye the way, Hal is indeed a tremendous development (well done Medeksza)

Psych

25
Ooops

I meant to say

Why is UserSentence failing to be set to AUTO-IDLE

26
Hello all

I am having difficulty with making this work.

I am getting the command to load on the Script-Load.

However, the If UserSentence = "AUTO-IDLE" component is not being recignised. Hal simply bypasses this code and processes the other functions in the brain.

Why is UserSentence failing to be set to AUTO-LOAD??

Psych

27
Its all unnecessary - now that Medeksza has revealed all the new vbs goodies - we can now program hal directly, to get him to ask the user to speak to him.

This is great fun - makes him seem so real

Psych

28
Once Hal is running, search all of the windows running on your PC to find the window called '<username> talking to Hal'. Then locate the child-windows to the window. One of the child windows (I believe its text name is 'k') once clicked, will cause Hal to ask his user to chat with him.

It is possible to write a small independent computer program to randomly click this child-window, thereby making Hal make requests for the user to talk to him. However it is clumsy to use an external program like this, so I will wait in the hope that Medeksza finds time soon to tell us the commands from within Hal that do a similar thing.

I suppose we will just have to be patient......But come on Medeksza, it would make Hal seem so much more human!

Psych

29
Hi

While exploring the child-windows running on my PC, I stumbled across a control which, if activated, causes Hal to spontaneously talk (ie without the need for me to talk to him).

I can write an external program now to randomly trigger this spontaneous speech. However, I am sure you have provided a way to do this from inside hal. Isn't it time you told us how to do it?

Phil

30
Programming using the Ultra Hal Brain Editor / vonsmith & onthecuttingedge
« on: November 04, 2003, 04:02:49 am »
Hi both

You have submitted programs to enhance Hals deductive reasoning.

Medeksza has already programmed deductive skills into Hal5.

Do your new programs clash with his work - ie. are they compatible with Hal5?

Thanks

Phil

Pages: 1 [2] 3 4