Student_coder

Include CMD in the UI

5 posts in this topic

#1 ·  Posted (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 by Student_coder

Share this post


Link to post
Share on other sites



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.

 

Share this post


Link to post
Share on other sites

@Jules -

Hi ,

But if we use Run command it will run in another window na. I want it in same UI.

Thanks

Share this post


Link to post
Share on other sites

See eg:

 

 


“The world won’t care about your self-esteem. The world will expect you to accomplish something Before you feel good about yourself.”

Share this post


Link to post
Share on other sites

There is a function which does this in my Process UDF (link in my signature below), Run the example.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

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