AutoHotkey Community

It is currently May 25th, 2012, 1:43 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 164 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next
Author Message
 Post subject:
PostPosted: August 2nd, 2007, 4:44 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 10th, 2007, 9:38 pm 
@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:
;)
*...* 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... ;)

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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 12th, 2007, 12:27 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
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? :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2007, 3:25 pm 
Offline

Joined: September 10th, 2006, 1:41 pm
Posts: 157
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2007, 10:05 pm 
I cant seem to get this to work is there instruction on how to use this


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2007, 10:06 pm 
Offline

Joined: August 20th, 2007, 6:57 pm
Posts: 185
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 1st, 2007, 12:33 am 
Offline

Joined: September 10th, 2006, 1:41 pm
Posts: 157
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 16th, 2008, 8:03 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
Version 3.2.1 released

Download the latest version (DLL Version 3.2.1)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 30th, 2008, 2:23 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2008, 1:46 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
I'll look into adding an option to RunInControl. Thanks for the suggestion :) .


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2008, 8:06 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2008, 12:08 pm 
8)

Thanks, corrupt!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2008, 5:47 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
n-l-i-d wrote:
8)

Thanks, corrupt!
You're welcome 8)

I should hopefully have a version available with a few more options soon...


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Interaction w/ cmdret
PostPosted: July 11th, 2008, 4:58 am 
I have a dos program that requires input from the user. I can use these scripts to start the program, but then it is waiting for more input. How can I get input values back into the command prompt?

For instance when you start the program, the output of the command prompt comes up fine (I'm using the run in control). But the first question the program has requires a Y/N response, with a simple return defaulting to yes. The program continues to ask questions that require input. How can I create another control (for example a second text box) that could be used to send input to the dos program to allow it to continue to the next step?


Report this post
Top
  
Reply with quote  
PostPosted: July 13th, 2008, 5:51 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
digitap wrote:
I have a dos program that requires input from the user. I can use these scripts to start the program, but then it is waiting for more input. How can I get input values back into the command prompt?

For instance when you start the program, the output of the command prompt comes up fine (I'm using the run in control). But the first question the program has requires a Y/N response, with a simple return defaulting to yes. The program continues to ask questions that require input. How can I create another control (for example a second text box) that could be used to send input to the dos program to allow it to continue to the next step?
The current version is not designed to allow automation of command line utilities but I might add this functionality in a future version due to the number of requests for it. Thanks for the suggestion :) .


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 164 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: MSN [Bot] and 1 guest


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