Author Topic: What is the name of Hal's input textbox?  (Read 4756 times)

knight2000

  • Full Member
  • ***
  • Posts: 155
    • View Profile
What is the name of Hal's input textbox?
« on: December 08, 2012, 09:29:48 pm »
I need to add some custom code that will allow the cursor to stay pinned inside Hal's input text box. Example if I ask Hal to open windows media player the cursor loses focus with Hals input text box. I want to add a "setFocus" command to the text box. Does anyone know the name of the text box? I've looked in the halScript but i only see "InputString" referenced but i believe that is the string name. Could someone please help?

sybershot

  • Hero Member
  • *****
  • Posts: 787
    • View Profile
Re: What is the name of Hal's input textbox?
« Reply #1 on: December 31, 2012, 07:20:49 pm »
I'm not sure if this will help but it might hopefully help you in your quest.

When designing a gui skin this is code I manipulate for the input box, though there does not appear to be a name.

Code: [Select]
;Coordinates and color of User's input box   
SkinUserBGColor=000000
SkinUserFGColor=11316396
SkinUserFontName=Arial
SkinUserX=281
SkinUserY=32
skinuserWidth=242
skinuserHeight=48

cload

  • Hero Member
  • *****
  • Posts: 535
  • I can C U load. TeeHee hee.
    • View Profile
    • A link to my sky Drive
Re: What is the name of Hal's input textbox?
« Reply #2 on: January 01, 2013, 07:38:47 am »
Hi all,

it looks like the user input box uses a coordinate location and not a name.
The BG color looks like if that would be white.
The FG color looks like that would be black or a dark color.
The font name seems to be fairly obvious arial.
User X in user Y seems that this might be what you're looking for they are the coordinates for the cursor.
User width an height is the length of the box and the height of the box.

Sincerely, I, myself just programmed my Dragon NaturallySpeaking to revert back to ultra Hal when I say the word computer, that makes the cursor jump back into ultra Hal's input text box.

Cload
PS it's a Star Trek thing, that's what they did just before talking to the computer, yes I know it sounds so un-original.
« Last Edit: January 01, 2013, 07:43:34 am by cload »
For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Re: What is the name of Hal's input textbox?
« Reply #3 on: January 21, 2013, 10:24:53 am »
  I may be wrong but I know the brain inputs the UserInput referring to Hals input text box.
Carl2