Jump to content
Sign in to follow this  

Command Line and AutoIT

Recommended Posts

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. :idea:

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)


GUICtrlSetDefColor (0x00FF00)

$console = GUICtrlCreateEdit("My Gui Console", 0, 0, 400, 300, BitOR(0x0004, 0x0800), $WS_EX_ACCEPTFILES)

GUICtrlSetBkColor(-1, 0x0)


GUISetState($GUI_DROPACCEPTED, $console)

#endregion ; == END GUI ==

So How can I Read what is typed into the GUI window?



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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...