Sign in to follow this  
Followers 0
ericnail

Command Line and AutoIT

2 posts in this topic

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)

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

Share this post


Link to post
Share on other sites

..I don't know how to read the input from the command line console.

Command Line Parameters

So 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.

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  
Followers 0