ericnail Posted May 9, 2010 Share Posted May 9, 2010 How can I use the console (GUICTRLCREATEEDIT) input in my script? I can open the console and I am able to type in and select enter, but nothing happens (of course) because I don't know how to read the input from the command line console. I enabled the drag and drop (thinking it was similar to my wishes), but no dice. This is the info I have in for the GUI ATM: #region ; == GUI == HotKeySet("{ESC}", "_Exit") Dim $cbType = "int" Global $cGUI = GUICreate("My Gui", 400, 300, 0, 0, 0x14EF0000, BitOR(0x00040310, 0x00000080)) $hMyGui = WinGetHandle($cGUI) GUISetBkColor(0x0) GUICtrlSetDefColor (0x00FF00) $console = GUICtrlCreateEdit("My Gui Console", 0, 0, 400, 300, BitOR(0x0004, 0x0800), $WS_EX_ACCEPTFILES) GUICtrlSetBkColor(-1, 0x0) GUISetState(@SW_SHOW) GUISetState($GUI_DROPACCEPTED, $console) #endregion ; == END GUI == So How can I Read what is typed into the GUI window? Thanks, Eric Link to comment Share on other sites More sharing options...
somdcomputerguy Posted May 9, 2010 Share Posted May 9, 2010 ..I don't know how to read the input from the command line console.Command Line ParametersSo How can I Read what is typed into the GUI window?GUICtrlRead - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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