Author |
Message |
MasterCard
|
Posted: Thu Mar 17, 2016 1:37 pm Post subject: Save the run window in a plain-text file |
|
|
Hello there, I am making a tournament bot with Turing.
The teams that are resulted, I want to "copy" or save/open with a notepad file to copy and publish the teams.
In other words, I want the run window to turn into text rather than a bmp file. Is this possible?
Thanks! |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Insectoid
|
Posted: Thu Mar 17, 2016 2:15 pm Post subject: RE:Save the run window in a plain-text file |
|
|
Why not just write your variables directly to a file instead of trying to retrieve them from the window? |
|
|
|
|
|
MasterCard
|
Posted: Thu Mar 17, 2016 2:25 pm Post subject: RE:Save the run window in a plain-text file |
|
|
Different positions and stuff so i have like many lines of code to auto-generate teams |
|
|
|
|
|
Insectoid
|
Posted: Thu Mar 17, 2016 2:40 pm Post subject: RE:Save the run window in a plain-text file |
|
|
Does that matter? If you can output to the screen, then you can output to a file. It's really no different. |
|
|
|
|
|
MasterCard
|
Posted: Thu Mar 17, 2016 9:26 pm Post subject: RE:Save the run window in a plain-text file |
|
|
How do you do that? |
|
|
|
|
|
Insectoid
|
Posted: Fri Mar 18, 2016 4:52 am Post subject: RE:Save the run window in a plain-text file |
|
|
Look up File.Open(). |
|
|
|
|
|
|