Sign in to follow this  
Followers 0
hlstriker

Displays numbers instead of string?

5 posts in this topic

I am trying to get my program to display a string instead of a number from an input box...

Each time it trys to display the string from the input box, a number gets displayed instead? I have no clue why it is doing this?! Can someone please help me?

Thanks ;)

Share this post


Link to post
Share on other sites



GUI input box... and here is the code

$list = GUICtrlCreateList ("List 1", 05, 23, 185, 44)
GUICtrlSetData(-1, "List 2")
$name = GUICtrlCreateInput ( "", 200, 23, 106, 20)
HotKeySet("{HOME}","start")

Func start()
    $Start = NOT $Start
    While $Start
       Send ($list & " " & "-" & $name & "-", 1)
       Send ( "{ENTER}" )
       Sleep ( 3000 )
    WEnd
EndFunc

Thanks for helping ;)

Share this post


Link to post
Share on other sites

$list = GUICtrlCreateList ("List 1", 05, 23, 185, 44)
GUICtrlSetData(-1, "List 2")
$name = GUICtrlCreateInput ( "", 200, 23, 106, 20)
HotKeySet("{HOME}","start")

Func start()
    $Start = NOT $Start
    Local $InputText = GUICtrlRead($name)
    While $Start
        Send ($list & " " & "-" & $InputText & "-", 1)
        Send ( "{ENTER}" )
        Sleep ( 3000 )
    WEnd
EndFunc

Does that help in any way?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0