Jump to content
Sign in to follow this  
Samir90

Help!!Auto Write text from GUICtrlCreateInput to a notepad

Recommended Posts

Samir90

Someone know how can I write some text and numbers in a GUICtrlCreateInput and the text will be writed on a notepad?

Share this post


Link to post
Share on other sites
Kidney

you'll need to do some research on GUICtrRead as well as fileopen and filewrite. and of course, you should at some point do a fileclose as good practice.

  • Like 1

Share this post


Link to post
Share on other sites
Samir90

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

Share this post


Link to post
Share on other sites
Runner

Could you post the finished "working" code?

I am looking for something similar. I'm looking for away to input daily logs that go with a heading (see image).

 

post-83998-0-19856600-1391203730_thumb.j

Share this post


Link to post
Share on other sites
JLogan3o13

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.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Runner

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.

Share this post


Link to post
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
Sign in to follow this  

×