AutoHotkey Community

It is currently May 27th, 2012, 10:09 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: November 15th, 2006, 11:39 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Isn't CmdRet supposed to do that? I never looked at it, actually.
I have also at hand the code of SciTE which is able to run a command, eg. a grep or a compiler, and to display the result in the console window...
I don't know how high this feature is in the ToDo list, but I think that someday, Chris should build this in AutoHotkey itself.
Of course, providing ready-to-use code for this could help, too...

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 15th, 2006, 11:40 am 
Quote:
[Redirecting an arbitrary Console's Input/Output]

By nickadams.

To redirect the input/output of a console application is interesting and useful. You can display the child's output in a window (just like Visual Studio's output window), or search some keywords in the output string to determine if the child process has completed its work successfully. An old, 'ugly' DOS program could become an useful component of your fancy Win32 GUI program.

My idea is to develop a simple, easy to use redirector class which can redirect an arbitrary console, and won't be affected by the behavior of the child process.

With source code [C++]

I can't see why such a feature shouldn't be implemeted within AHK, right ? :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 15th, 2006, 5:06 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
PhiLho wrote:
I think that someday, Chris should build this in AutoHotkey itself.
Of course, providing ready-to-use code for this could help, too...
CmdRet functionality is planned but hasn't been implemented because there always seems to be something higher priority (at the moment, v2 seems higher priority). So if we ever get another developer on staff, this would be a good candidate to work on.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 15th, 2006, 5:09 pm 
Time to have a C++Jonny-Poll ? :D


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group