| View previous topic :: View next topic |
| Author |
Message |
domhnull
Joined: 18 Sep 2004 Posts: 4 Location: Lacey, WA
|
Posted: Fri Oct 08, 2004 11:24 pm Post subject: Responding to text in a terminal emulation program |
|
|
I'm working with Anzio Lite. Basically I want to trigger an action based on text displayed in the terminal window (not typed or entered by the user). I've created one solution using a timer to call Anzio's Copy function which copies the screen to the clipboard. It works, but not without problems.
#1 - it dumps a bunch of stuff on the clipboard which interferes with other things we do
#2 - calling the copy function interrupts other input
I tried a hotstring but that didn't catch the text on the screen. It does catch user-typed text.
I'm probably trying to ask too much of AutoHotKey, but just in case someone had some ideas I thought I'd ask. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10716
|
|
| Back to top |
|
 |
Beastmaster
Joined: 15 Apr 2004 Posts: 181
|
Posted: Sat Oct 09, 2004 11:54 am Post subject: |
|
|
| Quote: | | As mentioned above, all versions of Anzio support passthrough print. DOS versions simply pass the characters out to a file/device, such as LPT1. In Windows, we have more flexibility, and more confusion. [more...] | Taken from anzio's printguide.
If you can print anzios content to a file it should be possible to parse the file afterwards for whatever you've set as a trigger ...
Maybe I've missed you  |
|
| Back to top |
|
 |
domhnull
Joined: 18 Sep 2004 Posts: 4 Location: Lacey, WA
|
Posted: Sat Oct 09, 2004 12:23 pm Post subject: |
|
|
Thanks Chris, I'll look at that.
I did think of capturing the text to a file and parsing it, but Anzio's performance degraded significantly while running the capture. |
|
| Back to top |
|
 |
|