Jump to content

Help!!Auto Write text from GUICtrlCreateInput to a notepad


Samir90
 Share

Go to solution Solved by Samir90,

Recommended Posts

  • Solution

Thanks for GUICtrRead I had a ideea
I posted a little script since I cant pot my mine because of lot of functions

Sorry but I will mark my comment as Solfed for other peoples who search for same thing to see the func

$write = text from Input
$d = dimension of input

$write = GUICtrlCreateInput($write,$d, $d, $d, $d)
FileWrite("test.txt", "GUICtrlRead($write))

While 1
$nmsg = GUIGetMsg()
Switch $nmsg
Case $write
FileWrite("test.txt", "GUICtrlRead($write))
$write = GUICtrlRead($write)
EndSwitch
WEnd
Edited by Samir90
Link to comment
Share on other sites

  • 4 months later...
  • Moderators

Runner, the OP stated he would not post the full code due to "a lot of functions". You would be better off creating your own thread, where you describe just what you're trying to accomplish, and what you have tried on your own thus far. You will undoubtedly get more help this way.

"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

Thanks JL,

But the more code posted is a benefit for all.

Maybe it could be posted half at a time or a link to it?

And I read it as if he would like to but not able to for some technical reason.

I will post later when I have a better idea of what I want. I'm currently struggling with some code right now for another idea. And always looking for examples.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...