doestergaard Posted March 10, 2014 Posted March 10, 2014 (edited) Im writing a fairly advanced program which will take a user input from a GUICtrlCreateInput box and write it to another process, for example: $hInput = GUICtrlCreateInput ( "", 106, 279, 202, 24 ) While 1 Switch GuiGetMsg() Case $GUI_EVENT_CLOSE ConsoleWrite ( GUICtrlRead ( $hInput ) ) ExitLoop EndSwitch WEnd I don't know how to make the other gui read the user input from the console. Any suggestions? I know you can create child guis, but that's not what i want. Hope this is possible Thanks Edited March 10, 2014 by doestergaard
Moderators JLogan3o13 Posted March 10, 2014 Moderators Posted March 10, 2014 Why not write out to a log file or INI (depending on the nature of what you want to do with the data), rather than trying to capture the console output? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
doestergaard Posted March 10, 2014 Author Posted March 10, 2014 (edited) Thank you for your quick response! The program is a Windows Deployment program, which means several computers might use this, which will cause all computers to read from the same file Edited March 10, 2014 by doestergaard
Solution DicatoroftheUSA Posted March 10, 2014 Solution Posted March 10, 2014 (edited) Quote The program is a Windows Deployment program, which means several computers might use this, which will cause all computers to read from the same file You either need a server that mediates writing to a file (such as a sql server) or use something like lock files where each log is named after each workstation. Edited March 10, 2014 by DicatoroftheUSA Statism is violence, Taxation is theft. Autoit Wiki
doestergaard Posted March 11, 2014 Author Posted March 11, 2014 @DicatoroftheUSA That would work, thanks!
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