Student_coder Posted June 3, 2016 Share Posted June 3, 2016 (edited) Quote #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 615, 438, 192, 124) GUISetBkColor(0xFFFFFF) $load = GUICtrlCreateButton("LOAD", 80, 80, 75, 25) GUICtrlSetFont(-1, 10, 800, 0, "Times New Roman") $CREATE = GUICtrlCreateButton("CREATE", 416, 80, 75, 25) GUICtrlSetFont(-1, 10, 800, 0, "Times New Roman") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd I want to insert cmd to the bottom part of this UI. Can anyone guide me. Edited June 3, 2016 by Student_coder Link to comment Share on other sites More sharing options...
Jules Posted June 3, 2016 Share Posted June 3, 2016 Hello, I don't think there is an AutoIt command line prompt widget. However, you can still insert an Input, and then use the Run() function to execute the command the user has typed. Link to comment Share on other sites More sharing options...
Student_coder Posted June 3, 2016 Author Share Posted June 3, 2016 @Jules - Hi , But if we use Run command it will run in another window na. I want it in same UI. Thanks Link to comment Share on other sites More sharing options...
Trong Posted June 3, 2016 Share Posted June 3, 2016 See eg: Regards, Link to comment Share on other sites More sharing options...
TheDcoder Posted June 3, 2016 Share Posted June 3, 2016 There is a function which does this in my Process UDF (link in my signature below), Run the example. EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion 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