Jump to content
Sign in to follow this  

Output ConsoleWrite to a GUI Control?

Recommended Posts


Maybe it's just one of those days but I can't for the life of me figure this out. I'm wanting to have a GUI control in my autoit form that I can update with text as the script runs (Like completing tasks) and wasn't sure about the best way to go about doing this. Using labels and line breaks just updates the label.


Something like this.


GUICtrlSetData($Log, "Log output 1" & @CRLF)
        GUICtrlSetData($Log, "Log output 2" & @CRLF)
        GUICtrlSetData($Log, "Log output 3" & @CRLF)


Ideas would be welcome. I may end up with an edit box from this link.


Edited by xCROv

Share this post

Link to post
Share on other sites

I typically use an Edit control, with $ES_READONLY. I then do something like this:

_GUICtrlEdit_AppendText($editProgress, @CRLF)
_GUICtrlEdit_AppendText($editProgress, @TAB & @TAB & "===============Search Complete===============")


  • Like 1

√-1 2^3 ∑ π, and it was delicious!

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