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! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
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? |
|
|
|
|
![](images/spacer.gif) |
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 |
|
|
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
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. |
|
|
|
|
![](images/spacer.gif) |
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? |
|
|
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Fri Mar 18, 2016 4:52 am Post subject: RE:Save the run window in a plain-text file |
|
|
Look up File.Open(). |
|
|
|
|
![](images/spacer.gif) |
|