Unc3nZureD Posted December 27, 2011 Posted December 27, 2011 (edited) Hi guys,I would like to create an application that uses CUI, and consolewrite.At compiling I set the CUI enabled and It works well.#AutoIt3Wrapper_Change2CUI=yNow I have only one question:Is there any way to hide/delete the CUI?(I write something on it, let it be there for some sec, then it would disappear)Thanks a lot: Unc3nZureD Edited December 27, 2011 by Unc3nZureD
Bert Posted December 28, 2011 Posted December 28, 2011 could you explain the difference between a CUI and a GUI? You keep using CUI and I'm wondering why you want to use a Common User Interface. I Googled a bit and couldn't find much on CUI. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Developers Jos Posted December 28, 2011 Developers Posted December 28, 2011 (edited) The only benefit of using CUI is that, when you run a script from the COMMANDPROMPT, the ConsoleWrite() output is shown in this CMD window and can be Piped into a file or something. Jos Edited December 28, 2011 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
UEZ Posted December 28, 2011 Posted December 28, 2011 You have to search for the CMD windows and hide it:Something like that:$var = WinList() For $i = 1 To $var[0][0] If $var[$i][0] <> "" And BitAND(WinGetState($var[$i][1]), 2) Then If WinGetProcess($var[$i][0], "") = @AutoItPID Then WinSetState($var[$i][1], "", @SW_HIDE) ExitLoop EndIf EndIf NextI used the code above in Head-Tail to have a semi CLI version.Br,UEZ psbeau 1 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
Unc3nZureD Posted December 28, 2011 Author Posted December 28, 2011 (edited) Thanks, I tried this method and works well In my opinion (I'm not sure) CUI might mean Console User Interface, hm? Edited December 28, 2011 by Unc3nZureD
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