PDA

View Full Version : keyboard sentence with control characters



wemock
April 9th, 2004, 04:09 PM
I need to be able to send a keyboard sentence that includes a new line (or linefeed) at the end. I'm using Girder to control a program reading stdin, and it needs the new line to accept the line of input.

I've tried turning on the RETURN special character along with my sentence, but Girder sends the RETURN first then the sentence. I need it to do the opposite.

the equivalent C string would be "foo\n"

any help would be appreciated...

-- wayne

birty
April 10th, 2004, 03:49 AM
make a multigroup and then put the sentece in one command in the multigroup and put the return in a second command, when the multigroup is executed it will execute the commands in order.

wemock
April 12th, 2004, 05:26 AM
that did the trick.

thanks for the quick response...

-- wayne

Sicter
October 20th, 2005, 09:47 AM
I have a similar problem with the exception that the program (mIRC) I'm trying to send the RETURN command to is minimized to tray. I am able to send sentences but when it comes to the return command it just doesnt work. Maybe I'm not targeting it right, but I have tried many ways to target the damn thing.
Seems strange that the sentence comes through, but Return command wont.

Any help appreciated