Search the Community
Showing results for tags 'cui'.
-
Hello, As I was searching this forum I came along something intresting what was new to me. CUI/GUI hybrid. Whish sounds very usefull to me to compile it all into 1 script. So i was fideling around whit it but couldn't get it to work. In the real script (not this simplified version) i got a lot of functions whish i can use whan talking to it by commandline and switches. I could not get this to work and hope somebody could give me some pointers on how to make it work. Also I was hoping iff somebody could help me whit the /? function? (I don't know how to output the
-
Is there any reliable way to check what console a CUI is running under (Powershell/Powershell ISE/CMD/misc)?
-
Hi all, I am working on a application with a GUI and command prompt in 1. Currently my code looks this simple > #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Change2CUI=y #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 615, 437, 192, 124) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd But when I compile this and run the compiled version there is also a command prompt shown. But I don't want this. Besides that, I also want it
-
Hi everyone Can someone guide me to the right direction with this question? I need a simple example for getting the mouse coordinates and other input events (using api calls, not mousegetpos) on a console window (return the x and y cell) https://msdn.microsoft.com/en-us/library/windows/desktop/ms684239(v=vs.85).aspx UDF link where I get the code from: https://github.com/MattDiesel/au3-console/blob/master/Console.au3 A c++ example that does exactly what i'm looking for: https://msdn.microsoft.com/en-us/library/windows/desktop/ms685035(v=vs.85).aspx The code in the attachments helps a lot but
-
Hi, would there a way to disable enable the CUI after the exe was compiled If a certain Action is being used?
-
How can I get input from the user when my program is compiled as a CUI? Thanks in advance, TD
-
Hi all, I'm developing a console program (program.exe) that takes file A and produces file B. What I wanted to know is what is the convention for passing files as arguments on the command line? In other words is it convention to do: program.exe "C:folderfile.abc" or is it convention to use the CWD: cd c:folder Program.exe file.abc Both will require different code internally. I want to know this because I am developing a program and need to know which to use. Also, is it convention to pass command line switches before or after the main input argument? Thanks in advance.
-
I am trying to create a script that allows me to run and use it with CMD as the interface. For example: This is the code I have so far... #AutoIt3Wrapper_Change2CUI=y ConsoleWrite("Enter PIN" & @CRLF & ":") Local $input While 1 $input &= ConsoleRead() if StringInStr($input,@CRLF) <> 0 then ExitLoop Wend if $input = "1111" & @CRLF Then ConsoleWrite("Success") Else ConsoleWrite("Failure") ConsoleWrite($input) EndIf The problem is that after it writes Enter PIN: it will not accept input and gets stuck. After I close the script, all the input I typed shows
-
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=y Now 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