hlstriker Posted September 17, 2005 Share Posted September 17, 2005 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 The best Honda forums!RuneScape High Alching for Profit! Link to comment Share on other sites More sharing options...
GaryFrost Posted September 17, 2005 Share Posted September 17, 2005 What kind of input box? GUI or regular inputbox? script your having problems with? SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
hlstriker Posted September 17, 2005 Author Share Posted September 17, 2005 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 The best Honda forums!RuneScape High Alching for Profit! Link to comment Share on other sites More sharing options...
AznSai Posted September 17, 2005 Share Posted September 17, 2005 $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 More sharing options...
hlstriker Posted September 17, 2005 Author Share Posted September 17, 2005 It worked, thanks alot !!! The best Honda forums!RuneScape High Alching for Profit! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now