doestergaard Posted March 10, 2014 Share 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 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 10, 2014 Moderators Share 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! Link to comment Share on other sites More sharing options...
doestergaard Posted March 10, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Solution DicatoroftheUSA Posted March 10, 2014 Solution Share Posted March 10, 2014 (edited) 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 Link to comment Share on other sites More sharing options...
doestergaard Posted March 11, 2014 Author Share Posted March 11, 2014 @DicatoroftheUSA That would work, thanks! Link to comment Share on other sites More sharing options...
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