sambuddy Posted March 6, 2009 Posted March 6, 2009 Hello All, I use ConsoleWrite and ConsoleWriteError in my scripts to show what is happening and to show that the script hasn't locked up which is great in scite. When my script runs as an exe, it shows a little window with an exit button on it so i can stop the script in a controlled manner. Is there any way i can add a console window (like what we have in scite) to display the output of ConsoleWrite and ConsoleWriteError. I get the feeling that i am unable to redirect my own output back into my script, so if anyone has any other suggestions i am interested to know what you do. Thanks
BinaryBrother Posted March 6, 2009 Posted March 6, 2009 Sounds like a 'rigged' solution to me... But I do it all the time... Simply try... $Edit = GUICtrlCreateEdit("text","left","top","width","height","style-optional","exStyle-optional") GUICtrlSetData($Edit,GUICtrlRead($Edit)+"VARIABLE OR INFO HERE") That will create an edit that will fill in required info at the scripts will... Use GUICtrlRead() in conjunction with AND or "+" to 'append' data... There is an easier function to do so... but I seem to have lost it... SIGNATURE_0X800007D NOT FOUND
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