Computer Science Canada

Output window copy/paste?

Author:  BigSams [ Thu Mar 26, 2009 3:39 pm ]
Post subject:  Output window copy/paste?

In my classes I never needed to actually use the output, so this problem never came up. Now that I use Turing for actual things, I found out that you cannot highlight the output and copy/paste it into Microsoft Word or some other text application.
The only options in the output window are Print and Save. I don't want to print because thats not what I need and the Save option only allows saving in .bmp. I tried .txt and .doc extensions, but it seems determined to keep it as an image instead of text.
Is there a command or something that will allow me to save it sa text?

Author:  The_Bean [ Thu Mar 26, 2009 4:08 pm ]
Post subject:  Re: Output window copy/paste?

If you set the screen mode to 'text' it will let you copy the text and save the run window as a .txt:

Turing:

View.Set("text")
put "You can copy this,"
put "or save it as .txt if you like."

Author:  DemonWasp [ Thu Mar 26, 2009 4:15 pm ]
Post subject:  RE:Output window copy/paste?

Alternately, you can run your program to output to the screen and a file. Select Run->Run With Args to do so. You can also configure your input to come from a file (useful if you want to test your program with specific arguments).


: