AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CMDret - return output from console progs [DLL version]
Goto page Previous  1, 2, 3, 4, 5, 6, 7
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Thu Aug 02, 2007 4:44 am    Post subject: Reply with quote

Btw, I should probably mention that there are a couple of known issues with the current release of the dll version of CMDret that is currently available for download (as described here). The next version should resolve these issues and provide a bit more functionality. An alternate version that seems to resolve the issues mentioned for the RunWEx function is available here until the next version is available.
Back to top
View user's profile Send private message Visit poster's website
Schizophrenie1b
Guest





PostPosted: Mon Sep 10, 2007 9:38 pm    Post subject: Reply with quote

@Bobo:
*coming-out-of-a-shadow*...meinst du mich...?
(Wenn nich, auch nich schlimm, meld ich mich einfach mal wieder. Hab seit über einem Monat das Forum hauptsächlich stumm verfolgt, kleb auch grad am Problem CMDret und Piping.)

...and for the ones, asking themselves, what the heck we damn german ones have been mumbling 'bout:
Wink
*...* you've been talking about me?
(If not, no prob; I'm just saying hello. I've been watching the entire forum for over a month in a more silent way, but caught up on that CMDret and Piping-Problem, too.)
Satisfied? Well, just thought so. (But I have to mention, that I'm not going to translate all the nasty words... Wink

Btw: is anyone conscious of a way getting Pipes to work with CMDret?
(I'm using Piperec [@ ..?] outputting mic into SoX [@ Sourceforge])
Using simple
Code:
StrOut := DllCall("cmdret.dll\RunInControl", "str", "piperec ParamX ParamY ParamZ | sox - C:\test.wav Params", "Uint", OutputWindow, "str", "Edit", "int", "1")

wont work. --wrong start?

Thanks,
Schizo and the other one
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Wed Sep 12, 2007 12:27 pm    Post subject: Reply with quote

Schizophrenie1b wrote:
Btw: is anyone conscious of a way getting Pipes to work with CMDret?
(I'm using Piperec [@ ..?] outputting mic into SoX [@ Sourceforge])
Using simple
Code:
StrOut := DllCall("cmdret.dll\RunInControl", "str", "piperec ParamX ParamY ParamZ | sox - C:\test.wav Params", "Uint", OutputWindow, "str", "Edit", "int", "1")

wont work. --wrong start?

Thanks,
Schizo and the other one
Hi Schizophrenie1b,

Thanks for the report. I'm aware of a few issues with the current code for the RunInConrol function the dll . I'll try and update the code soon which will hopefully solve the issue. I'm not too familiar with piperec and SoX though. Would you mind providing a small, complete script for testing and links to download the versions of the files that you are using so that I can do a bit of testing? Smile
Back to top
View user's profile Send private message Visit poster's website
DJAnonimo



Joined: 10 Sep 2006
Posts: 145

PostPosted: Sun Sep 30, 2007 3:25 pm    Post subject: Reply with quote

nice but when i call the dll it freezes my AHK script since it finish
executing the command line program.
its possible to call in background ?

thanks in advance
Back to top
View user's profile Send private message MSN Messenger
Mbailey766
Guest





PostPosted: Wed Oct 31, 2007 10:05 pm    Post subject: Reply with quote

I cant seem to get this to work is there instruction on how to use this
Back to top
Mkbailey755



Joined: 20 Aug 2007
Posts: 157

PostPosted: Wed Oct 31, 2007 10:06 pm    Post subject: Reply with quote

I'm trying to use this program to look for text inside of a telnet window so I can automate it basically I want to send keystrokes to it after the telnet script "NEWhoip" stops running. basically I WANT TO "RTFM" but cant find any instruction just prewritten code that I can't understand? Thank you in advance.
also is this the correct route or should I do more of an ORC
Back to top
View user's profile Send private message
DJAnonimo



Joined: 10 Sep 2006
Posts: 145

PostPosted: Thu Nov 01, 2007 12:33 am    Post subject: Reply with quote

i use it in this way

Code:
OutputWindow := WinExist("Normalizer")
StrOut := DllCall("cmdret.dll\RunInControl", "str", CMD, "Uint",
OutputWindow, "str", "Edit", "int", "1")


it fills the command prompt text in a editbox
when the dll is called ahk is freezed.
cos AHK dont supports multi-thread.
Back to top
View user's profile Send private message MSN Messenger
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sun Mar 16, 2008 8:03 am    Post subject: Reply with quote

Version 3.2.1 released

Download the latest version (DLL Version 3.2.1)
Back to top
View user's profile Send private message Visit poster's website
unlfrank
Guest





PostPosted: Sun Mar 30, 2008 2:23 pm    Post subject: Reply with quote

Hey, I want to be able to control mplayer with stdin commands as shown here:
http://www.mplayerhq.hu/DOCS/tech/slave.txt

Is "RunWWx" the correct command to use? I got RunRedirect and RunInControl to both display the output, but neither allowed standard input to be sent while the target program (mplayer.exe) was executing... Is this possible?

->Frank
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Fri Apr 04, 2008 1:46 am    Post subject: Reply with quote

I'll look into adding an option to RunInControl. Thanks for the suggestion Smile .
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sun Apr 06, 2008 8:06 am    Post subject: Reply with quote

In case anyone is interested in testing, a beta version of CMDret 4a and a sample script is available for download here. This version of the dll contains a callback function...
Back to top
View user's profile Send private message Visit poster's website
n-l-i-d
Guest





PostPosted: Sun Apr 06, 2008 12:08 pm    Post subject: Reply with quote

Cool

Thanks, corrupt!
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sun Apr 06, 2008 5:47 pm    Post subject: Reply with quote

n-l-i-d wrote:
Cool

Thanks, corrupt!
You're welcome Cool

I should hopefully have a version available with a few more options soon...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7
Page 7 of 7

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group