Jump to content
Sign in to follow this  
hlstriker

Displays numbers instead of string?

Recommended Posts

hlstriker

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
AznSai

$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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.