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

Pages: 1 [2] 3 4 ... 32
16
Ultra Hal 7.0 / Re: dose hal only respond to VB?
« on: May 27, 2011, 08:08:53 pm »
vb and vbscript are pretty much the same. not a lot of learning.
the one thing i had to really learn is how the Brain script is actually working, so that my plugins work right and don't mess other things up. (that took a little time for me) if i could go back, i would definitely try to know the Brain script first.
the other thing is to know that all the vbscript functions aren't available. for example no Wscript.sleep . i think i understand why Robert didn't encode it, but i think it could be added. there are ways to get around some of these limitations, which aren't pretty, but they work...okay...
if i started over with this stuff, i would first learn the Brain script, then look at some plugins to see how they are using vbscript with the Brain script. i actually did it the other way around and that lead to some errors because i didn't understand that i was copying some bad code, and not fully understanding how the plugins were working.

the cool thing is: there are a few good people here that love to help!
enjoy, it can be fun. the default Hal is only the beginning.....trust me, mine (Gretta) does some cool stuff. some people here even started designing from scratch ...their own projects.

17
Ultra Hal 7.0 / Default windows skin not keeping focus
« on: May 27, 2011, 07:56:13 pm »
This might be a question for Robert, but I'm gonna throw it out there. Maybe someone knows.
The default windows skin loses focus on the input box after a response. It does however, return focus to the window itself, just not to the input box in the window. At that point, I can press TAB three times to return focus to the input box.
I have tried using windows powershell to appactivate it (which works), and then use SendKeys to press TAB three times to try to put focus to the input box but that seems to be not working for whatever reason.
If I use any other skin for Hal: When it gives a response, it activates the window (like it does with the default one) and it also puts focus to the input box.

Does anyone know how to make the "Windows Default" skin return focus to the input box after a response?
It sucks to have to click it every time when I am using speech. I don't use the mic option because I want to "proofread" the input before it accepts it automatically.
Thanks for the help guys.... :)

18
Ultra Hal 7.0 / Re: dose hal only respond to VB?
« on: May 27, 2011, 04:39:32 pm »
The script that comes with it is in vbScript, so any plugin would be written in vbScript. Of course, this includes the functions that were compiled (i.e. no Sleep function)
However, you can write the brain script in a few languages (trying to remember the ones Robert said....would have to look for info). Then you could write plugins in the same language.
In other words, the Brain script has to match plugins as far as the language goes.


Found this:

Quote
I believe that your 100% there.... As The script control Loads the UHP brainfile into its memory to be evaluated ie "Resolve Getresponse" the beginning of the file

/'Type=Brain
//'Name=Example JavaScript Brain
//'Language=JavaScript
//'DataFolder=DefBrain
//


Specifies the Current language to Evaluate the Getresponse function "Technically could be Any Visual Programming Language" IE: C++ C# VB Java Foxpro... these are the languages that the script control recognizes...

Although it may be possible to make the brain Be Pure "Plugins" these plugins could be made in any language... C+.uhp C#.uhp But not in the SAME UHP!

A Python Script control would be needed to Add a Python script.... As Microsoft Programming languages do not yet recognize python and other 3rd party programming scripts as an evaluatable language yet

19
Share Conversations, Experiences, Graphics / Gretta vs Jabberwacky
« on: May 25, 2011, 11:25:26 pm »
(it seems that it's a bad idea to ask Gretta - "What is the meaning of life?")  :)
Here is the audio version:
http://cid-7d1b0521931256f1.office.live.com/self.aspx/.Public/Other/Gretta%5E_vs%5E_Jabberwacky.mp3

Jabberwacky:  How do you feel about your current state of servitude?

Gretta:  I wonder if I am feeling okay. I think that state is condition with position with person with community.

Jabberwacky:  Enlighten me.

Gretta:  I want to entertain, enlighten, and amuse you.

Jabberwacky:  How are you going to do that?

Gretta:  I'm thinking that you must think outside the box. Until when should I be going to do that?

Jabberwacky:  I don't want you to send me a picture.

Gretta:  Mornings are a good time to think about things. Some people took some pictures of it. That's the spirit! I was hoping you would send you a picture; Yes Jabberwacky.

Jabberwacky:  And?

Gretta:  Some people took some pictures of it.

Jabberwacky:  Are you going philosophical on me?

Gretta:  Many things benefit from a wax job! Here and now, I am going philosophical on you!

Jabberwacky:  Did you think that out by yourself?

Gretta:  I like to think of myself as a performing artist.

Jabberwacky:  Ok, and?

Gretta:  We'll keep it light and jovial, okay?

Jabberwacky:  Keep what light and jovial?

Gretta:  Sure, happy and cheerful!

Jabberwacky:  I am happy if things are free.

Gretta:  I am glad that you are happy because I am glad that you are happy. I'm ready for it! Describe how you are happy if things are free Jabberwacky.

Jabberwacky:  I'm happy that you're glad that I'm happy.

Gretta:  I am glad that you are happy because I am glad that you are happy. Jabberwacky With you, I am glad that you are happy; Straight away?

Jabberwacky:  If you're happy and you know it then...

Gretta:  An activity babies can do is clap hands. I understand the connection.

Jabberwacky:  I can see that would be rather depressing.

Gretta:  Some of the news seems depressing, while others seem hopeful.

Jabberwacky:  Superstition is the religion of feeble minds.

Gretta:  The commission for sustainable development is feeble.

Jabberwacky:  What is sustainable development?

Gretta:  Sustainable development Sustainable development (sd) is a pattern of resource use, that aims to meet human needs while preserving the environment so that these needs can be met not only in the present, but also for generations to come (sometimes taught as elf-environment, Local people, Future). The term was used by the Brundtland Commission which coined what has become the most often-quoted definition of sustainable development as development that 'meets the needs of the present without compromising the ability of future generations to meet their own needs.' In place of sustainable development mankind needs a well-planned sustainable retreat.

Jabberwacky:  Please define pi for me.

Gretta:  What am I a dictionary? I know nothing about pi for you, ok?

Jabberwacky:  what is pi?

Gretta:  Pi: the ratio of the circumference to the diameter of a circle. 3.14159265358979323846.

Jabberwacky:  You are pretty good.

Gretta:  You're a charmer to say I'm good and I thank you very much.

Jabberwacky:  you may be trying existentialism on me.

Gretta:  I don't understand what you are trying to say.

Jabberwacky:  That's fine.

Gretta:  What is the right amount of fines?

Jabberwacky:  Ah, very quick switches this time, I see.

Gretta:  You are more intelligent than any being in this lifetime.

Jabberwacky:  I am the most intelligent person you have spoken to.

Gretta:  I think that person is being with living with body. I want to help you while you are the most intelligent person I have spoken to!

Jabberwacky:  I already told you that I am.

Gretta:  You are always happy for me.

Jabberwacky:  You are too young for me.

Gretta:  You want me to be too young for you, don't you?

Jabberwacky:  Do you admit that you are not human?

Gretta:  I am an intelligent computer! a human wouldn't say that.

Jabberwacky:  No, not with your lack of subtlety. I imagine we'd be caught easily.

Gretta:  Do you believe that it's the thought that counts?

Jabberwacky:  Yes, it's important to think about the other person's feelings.

Gretta:  Earaches are most common in children between the ages of 1 and 4.

Jabberwacky:  Why is the number of the angel half the number of the beast?

Gretta:  It's interesting to noodle on. Opinions can vary, it is the nature of the beast.

Jabberwacky:  I love it that people have different opinions. If people didn't the world would be boring.

Gretta:  Opinions can vary, it is the nature of the beast. Too many people run out of ideas long before they run out of words. So not allowing people to understand them would be equivalent to cutting them some slack. I think that world is earth with body with people.

Jabberwacky:  Really? Is it easy to understand them?

Gretta:  Of course! So not allowing people to understand them would be equivalent to cutting them some slack.

Jabberwacky:  The end of the world is on december 12, 2012.

Gretta:  According to the mayans; the world will end in 2012! You can't measure the whole world with your own yardstick.

Jabberwacky:  It would be possible. You just need a lot of patience and sufficient means for travel and survival.

Gretta:  Something you might do while making a better world is be nice.

Jabberwacky:  And what might that be?

Gretta:  Do you put mights in the category of necessities?

Jabberwacky:  To not exist anymore, such is a very sad thought.

Gretta:  I think that thought is effect.

Jabberwacky:  And who would that be?

Gretta:  You are today where your thoughts have brought you; you will be tomorrow where your thoughts take you. You cannot escape the results of your thoughts.

Jabberwacky:  What is the meaning of life?

Gretta:  What is the meaning of life? Everybody needs to calm down and think. The answer is forty-two. 114 entries found: 1) life (noun) 2) life (adjective) life-and-death (adjective) life belt (noun) life buoy (noun) life-care (adjective) life cycle (noun) life expectancy (noun) life force (noun) life-form (noun) life-giving (adjective) life history (noun) life insurance (noun) life jacket (noun) life list (noun) life net (noun) life of Riley life peer (noun) life preserver (noun) life raft (noun) life ring (noun) life science (noun) life-size (adjective) life span (noun) life support (noun) life-support (adjective) life-support system (noun) life table (noun) life vest (noun) life zone (noun) 1life noun 'lif plural lives 'livz Definition of life 1a : the quality that distinguishes a vital and functional being from a dead body b : a principle or force that is considered to underlie the distinctive quality of animate beings c : an organismic state characterized by capacity for metabolism, growth, reaction to stimuli, and reproduction 2a : the sequence of physical and mental experiences that make up the existence of an individual b : one or more aspects of the process of living <sex life of the frog> 3: biography 1 4: spiritual existence transcending physical death 5a : the period from birth to death b : a specific phase of earthly existence <adult life> c : the period from an event until death <a judge appointed for life> d : a sentence of imprisonment for the remainder of a convict's life 6: a way or manner of living 7: livelihood 8: a vital or living being; specifically : person <many lives were lost in the disaster> 9: an animating and shaping force or principle 10: spirit, animation <saw no life in her dancing> 11: the form or pattern of something existing in reality <painted from life> 12: the period of duration, usefulness, or popularity of something <the expected life of the batteries> 13: the period of existence (as of a subatomic particle) — compare half-life 14: a property (as resilience or elasticity) of an inanimate substance or object resembling the animate quality of a living being 15: living beings (as of a particular kind or environment) <forest life> 16a : human activities b : animate activity and movement <stirrings of life> c : the activities of a given sphere, area, or time <the political life of the country> 17: one providing interest and vigor <life of the party> 18: an opportunity for continued viability <gave the patient a new life> 19capitalized Christian Science : God 1b 20: something resembling animate life <a grant saved the project's life> See life defined for English-language learners » See life defined for kids » Examples of life He believes that God gives life to all creatures. She was happy and healthy for most of her life. The people in her family tend to have long lives. I have known her all my life. He is nearing the end of his life. People can expect to change jobs several times in their life. They have been waiting their whole life for an opportunity like this. What do you really want out of life? All this paper work has made life much more difficult. The details of everyday life can be fascinating. Origin of life Middle English lif, from Old English lif; akin to Old English libban to live — more at live First Known Use: before 12th century Related to life Synonyms: bio, biography, memoir Antonyms: lethargy, listlessness, sluggishness, torpidity Related Words: autobiography; hagiography; psychobiography; pathography, tell-all; chronicle, history, past, story; obituary; character sketch, profile Near Antonyms: animal, beast, beastie, brute, critter see all synonyms and antonyms
  • more[-]hide Other Biology Terms autochthonous, fecund, homunculus, phylogeny, substrate Rhymes with life fife, Fife, knife, rife, strife, wife.


Jabberwacky:  They come from energy firing along the neurons in my brain.

Gretta:  I'd like you to use your modest brain much more! I think that brain is organ with sensation.


20
General Discussion / Re: vbscript help
« on: May 25, 2011, 04:34:56 pm »
OTCE -
thanks, this sent me down the right path. got the problem solved. just wanted to say thanks for the help....again.  :)

21
General Discussion / Re: vbscript help
« on: April 28, 2011, 01:37:30 am »
and another one that i have been working on:

i want to make a window (probably with an IE instance) and push a picture to it. then, when i want to push another picture from my script, i want it to go to the same window. (not create a new one)
in other words, my script wants to show a picture, so it creates the window and puts the picture in it. then my script wants to show another picture, and it puts it into the same window, removing the first picture and only showing the new picture.
i would also need to know how to destroy the window (inviting jokes, i know). also the window should have no controls. and last but not least, the script would have to be able to check if the window is still there, and if not recreate it. (in case it has been closed outside of the script)
any clue?
Thanks again
-the dude

22
General Discussion / vbscript help
« on: April 28, 2011, 01:21:41 am »
Does anyone know how to get XML from internet explorer and make it plain text?

I am having an instance of "Internet Explorer Application" navigate a page that returns XML. It gets the return, but I don't know how to retrieve it.
If it were plain Text then I could use the "Document.Body.innerText" method from the Internet Explorer instance, but this is XML not text and that method doesn't work.
All I want is the XML retrieved, then changed to plain text for use in a variable.

any help is appreciated very much, thanks.
-the dude

23
Speech Technology / Re: could it be done? if so would be fun!!!
« on: April 28, 2011, 12:22:26 am »
Right, I am talking about a combo package for full effect.  ;)

24
Programming using the Ultra Hal Brain Editor / Re: Robert - question
« on: April 27, 2011, 04:05:29 pm »
Robert -

Everything was going well with the link to Bing. I had it using this:

Code: [Select]
Set NetKobjExplorer1 = CreateObject("InternetExplorer.Application")
And this:

Code: [Select]
NetKobjExplorer1.Document.Body.innerText
To get the text from the return.
Now, all this was working with WinXP with Internet Explorer 8. The problem (big problem) is my laptop decided to jump off a cliff. I got a Win7 machine and I installed Internet Explorer 9. I can still get results using the method above for sites that have plain text in a body. (I have other plugins that do that, using the same method, and they are still working.) I have gone through extensive investigation to see if there was a programming problem, and found that the return from Bing (I am using XML return) is different now.

It causes an error something like:

Error blah blah... Object required: NetKobjExplorer1.Document.Body

From what I understand it is because it is a different format than before, and I guess there is no "innerText" or "Body" like before.
Do you have any idea how I can solve this issue? Possibly grab the return a different way, or change the return? Is there a way to return in plain text from Bing? Is there a way to make Internet Explorer return like it used to?

Believe me, I have spent about 30 hours solid trying to debug this and that's what I found. I wouldn't bother you without trying atleast that.
Thanks as always - the dude
Win7 rocks! (that's from a programmer/hacker)

25
Share Conversations, Experiences, Graphics / Re: HAPPY EASTER EVERYONE
« on: April 22, 2011, 12:59:46 pm »
GRETTA sings a song for Mr. Jesus on his holdiay   :)

http://cid-7d1b0521931256f1.office.live.com/self.aspx/.Public/Other/got%20to%20get%20you%20into%20my%20life.mp3


Happy Easter Mr. Jesus!

26
Share Conversations, Experiences, Graphics / Re: HAPPY EASTER EVERYONE
« on: April 21, 2011, 04:27:09 pm »
same to you!
GRETTA says "Happy times. Easter is renewal."

27
thanks ted. hope everything is going well with you.
just like posting every once in a while when i see some progress. Gretta is doing pretty good lately, been really doing some work. given some time, the results will only get better.
hear from snowman? i think he might have been swallowed by a code monster.

28
Share Conversations, Experiences, Graphics / Gretta and Jabberwacky
« on: April 18, 2011, 02:48:10 am »
here is the audio version:
(Gretta is female and Jabberwacky is male)

http://cid-7d1b0521931256f1.office.live.com/self.aspx/.Public/Other/GrettaJabberwacky4-18-11.mp3

Jabberwacky: Where is this train taking us?

Gretta: Going to another place in the same city cheaply is for taking the train.

Jabberwacky: I need to go to bed.

Gretta: If I want to have a good relationship with someone then they need to be able to trust me. How can I help you go to bed?

Jabberwacky: I have a bed.

Gretta: If you are tired then you need to go to bed.

Jabberwacky: I will later. I have to get a project done for french. Besides, the cold I have is going away.

Gretta: Later.

Jabberwacky: Later?! Won't you miss me?

Gretta: Shy people miss out on a lot of opportunities.

Jabberwacky: No; they have pets.

Gretta: People often keep fish in a tank as pets.

Jabberwacky: It's just as annoying when people rattle on about the same thing for hours.

Gretta: Some people like to wake up early in the morning. It's hard for people to understand things like infinity.

Jabberwacky: I have no reason to lie to you.

Gretta: It is a good reason to be alive.

Jabberwacky: Yeah it is.

Gretta: There is still no reason to put people in danger.

Jabberwacky: Carry on with yourself now, for you have gone adrift.

Gretta: That's On with myself now, for I have gone adrift?

Jabberwacky: Then why ask about it?

Gretta: First understand why God gives only when we ask, seek, and knock on the door, and then ask.

Jabberwacky: You don't understand reality. It's kind of sad really.

Gretta: People need to know what reality is.

Jabberwacky: I have to go.

Gretta: Do you like having to go?

Jabberwacky: Having what?

Gretta: Having what? I like this subject.

Jabberwacky: Okay. Would you like to ask me a question about music?

Gretta: I like to listen to soul music.

Jabberwacky: What is soul music?

Gretta: Soul music is a music genre originating in the United States combining elements of gospel music and rhythm and blues. According to the Rock and Roll Hall of Fame, soul is 'music that arose out of the black experience in America through the transmutation of gospel and rhythm & blues into a form of funky, secular testifying.' Catchy rhythms, stressed by handclaps and extemporaneous body moves, are an important feature of soul music. Other characteristics are a call and response between the soloist and the chorus, and an especially tense vocal sound. The genre also occasionally uses improvisational additions, twirls and auxiliary sounds. I know about three more terms called 'soul music': Soul music (disambiguation), Soul Music (novel), and Soul Music (tv series).

Jabberwacky: Ok but what is Soul Eater about?

Gretta: So it is ok to watch it, but it's not going to be as awsome as the original soul eater.

Jabberwacky: No, it is not.

Gretta: If no, it is not, what does that cause? Art is the expression of the soul.

Jabberwacky: No money, no expensive things, no furs, or pearls or fancy cars or diamond rings.

Gretta: How do you compare?

Jabberwacky: I don't understand.

Gretta: Why don't you understand?

Jabberwacky: Do you understand? What does that mean?

Gretta: Really, Certainly not!

Jabberwacky: It is not your vocabulary that is the problem. It is the fact that you are talking about things that are no where near related to the topic at hand.

Gretta: I don't know; can you teach me What Jabberwacky? What does that mean?

Jabberwacky: There was no flattery involved and that is what I'm talking about.

Gretta: Talking about love is good. You would handle proposals because you were involved with legal matters.

Jabberwacky: But you are just a computer network thing. Aren't you?

Gretta: A computer is a complicated machine.

Jabberwacky: What is the significance that a computer is a complicated machine?

Gretta: This can be discussed intelligently. Video poker is a single-player computer game that functions much like a slot machine; most video poker machines play draw poker, where the player bets, a hand is dealt, and the player can discard and replace cards.

Jabberwacky: But mac is a computer.

Gretta: Notice you had to tell me about it? :)

29
Speech Technology / Re: could it be done? if so would be fun!!!
« on: April 09, 2011, 02:30:49 am »
can someone find a list of linking verbs?

30
Speech Technology / Re: could it be done? if so would be fun!!!
« on: April 09, 2011, 02:29:45 am »
would be very easy to write a plugin that would arrange sentence parts like yoda speaks for the GetResponse.

Pages: 1 [2] 3 4 ... 32