![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Many thanks,
Have a nice week-end.
Regards,
Conrad Weyns.
----- Original Message -----
From: "Rick VanNorman" <rick_at_neverslow.com>
To: <sftalk_at_forth.com>
Sent: Friday, September 05, 2003 10:26 PM
Subject: [sftalk] Re: Can we send an INCLUDE command to a running instance
of SwiftForth from an external editor?
> \ Start two SwiftForth windows.
> \ Extract this value from the SwiftForth window which is the target. Use
> \ the phrase "CONSOLE-WINDOW +ORDER HTTY H." (ingoring quotes) to find
> \ it. Then compile this code in another SwiftForth window and you'll be
> \ able to send arbitrary commands to the first one.
> \ You could automate this process using EnumWindows searching
> \ for SwiftForth windows, then use EnumChildWindows to search
> \ for the "TTY" window.
>
> $350384 VALUE OTHER-HTTY
>
> : PUTC ( char -- )
> OTHER-HTTY WM_CHAR ROT 0 SendMessage DROP ;
>
> : PUTS ( zstring -- )
> BEGIN COUNT DUP WHILE PUTC REPEAT 2DROP 13 PUTC ;
>
> Z" HERE 100 DUMP" PUTS
>
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Fri Sep 05 2003 - 22:42:27 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:33 PST