Jump to content

Displays numbers instead of string?


hlstriker
 Share

Recommended Posts

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 ;)

Link to comment
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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...