Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Kix---Programming | Need help to read out textboxes

Reply
Thread Tools Display Modes

Kix---Programming | Need help to read out textboxes

 
 
Thomas M.
Guest
Posts: n/a

 
      05-11-2009
Hi,

I´ve a very simple question concerning textboxes:
I want to read out the content of a textbox. This is a part of my script:

$Eingabe_Test = $PROJEKT.controls.textbox
$gemessen_Test = $Eingabe_Test.text
;(((or $gemessen_Test =
$Eingabe_Test.textbox ???)))
Messagebox('$gemessen_Test','$gemessen_Test',0)

But the messagebox output is empty.
How can I read out the content of the textbox ?

Thank you for help

Thomas


 
Reply With Quote
 
 
 
 
Al Dunbar
Guest
Posts: n/a

 
      05-12-2009

"Thomas M." <> wrote in message
news:...
> Hi,
>
> I´ve a very simple question concerning textboxes:
> I want to read out the content of a textbox. This is a part of my script:
>
> $Eingabe_Test = $PROJEKT.controls.textbox
> $gemessen_Test = $Eingabe_Test.text
> ;(((or $gemessen_Test =
> $Eingabe_Test.textbox ???)))
> Messagebox('$gemessen_Test','$gemessen_Test',0)
>
> But the messagebox output is empty.
> How can I read out the content of the textbox ?
>
> Thank you for help


What scripting language is this, powershell or kixtart?

/Al


 
Reply With Quote
 
David H. Lipman
Guest
Posts: n/a

 
      05-12-2009
From: "Al Dunbar" <>


| "Thomas M." <> wrote in message
| news:...
>> Hi,


>> I´ve a very simple question concerning textboxes:
>> I want to read out the content of a textbox. This is a part of my script:


>> $Eingabe_Test = $PROJEKT.controls.textbox
>> $gemessen_Test = $Eingabe_Test.text
>> ;(((or $gemessen_Test =
>> $Eingabe_Test.textbox ???)))
>> Messagebox('$gemessen_Test','$gemessen_Test',0)


>> But the messagebox output is empty.
>> How can I read out the content of the textbox ?


>> Thank you for help


| What scripting language is this, powershell or kixtart?

| /Al


It looks like KiXtart and looks like $gemessen_Test is being assigned a null string and
thus the "messagebox output is empty."

--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


 
Reply With Quote
 
Thomas M.
Guest
Posts: n/a

 
      05-12-2009
Yes, it´s KiXtart.
And yes it looks lige $gemessen_Test = Null.
But why is it Null ?`
I´ve assigned it with $gemessen_Test = $Eingabe_Test.text I thought !

Thanks
Thomas



"David H. Lipman" <DLipman~nospam~@Verizon.Net> schrieb im Newsbeitrag
news:%...
> From: "Al Dunbar" <>
>
>
> | "Thomas M." <> wrote in message
> | news:...
>>> Hi,

>
>>> I´ve a very simple question concerning textboxes:
>>> I want to read out the content of a textbox. This is a part of my
>>> script:

>
>>> $Eingabe_Test = $PROJEKT.controls.textbox
>>> $gemessen_Test = $Eingabe_Test.text
>>> ;(((or $gemessen_Test =
>>> $Eingabe_Test.textbox ???)))
>>> Messagebox('$gemessen_Test','$gemessen_Test',0)

>
>>> But the messagebox output is empty.
>>> How can I read out the content of the textbox ?

>
>>> Thank you for help

>
> | What scripting language is this, powershell or kixtart?
>
> | /Al
>
>
> It looks like KiXtart and looks like $gemessen_Test is being assigned a
> null string and
> thus the "messagebox output is empty."
>
> --
> Dave
> http://www.claymania.com/removal-trojan-adware.html
> Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp
>
>



 
Reply With Quote
 
David H. Lipman
Guest
Posts: n/a

 
      05-12-2009
From: "Thomas M." <>

| Yes, it´s KiXtart.
| And yes it looks lige $gemessen_Test = Null.
| But why is it Null ?`
| I´ve assigned it with $gemessen_Test = $Eingabe_Test.text I thought !

| Thanks
| Thomas



Is, $Eingabe_Test.text , being assigned via some COM Automation ?

What is the REST of the script pertinent to the MessageBox()

--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizable textboxes on web forms djkveton Internet Explorer 0 08-21-2009 01:03 PM
cannot type in textboxes ckydmk Windows Vista Performance 5 04-19-2008 06:12 AM
history and autocomplete for textboxes doesnt' work for particular site TS Internet Explorer 1 05-25-2007 11:58 PM
All textboxes disable on all web pages KT Internet Explorer 0 06-20-2006 02:17 PM
Re: PROBLEM!!! Windows 2003 Server - Login textboxes disabled Daniel Windows Server 1 07-15-2005 09:07 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59