forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Print output

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Corridor



Joined: 21 Mar 2006
Posts: 1

PostPosted: Tue Mar 21, 2006 4:51 pm    Post subject: Print output Reply with quote

Is there a way to set the IDE to print what is shown when it runs the console?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7924
Location: Salford, UK

PostPosted: Wed Mar 22, 2006 1:07 am    Post subject: Print output Reply with quote

Trevor

There is no direct way of doing this and using redirection in the "Launch arguments" of the project properties does not work.

You can either open a Command Prompt window and use redirection after changing to the output folder or you can add code to your program to copy the output to a file.

For the first option:

1. Find the Command Prompt or MS-DOS Prompt from the Start button and Programs.

2. Use CD to change to the folder that contains your executable prog.exe (say).

3. Run the command "prog.exe > prog.res"

If you do this often then you should consider putting the steps into a batch file.
You could then run the batch file as a command from Plato3 and assign an accelerator key to it.
(Put the batch file in the root project folder. See the Tools menu, then Commands)

The batch file (Print.bat say) could contain something like...

releasewin32prog.exe > prog.res

Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group