An example (from tkcon): from a concurrent tclsh:
% package require winsend | % package require winsend
- 0.4 | 0.4
+ 0.5 | 0.5
% winsend interps | % winsend interps
tkcon.tcl | tkcon.tcl TCLSH.EXE
| % winsend send tkcon.tcl set x 1
See
http://tclsoap.sourceforge.net/winsend.html
and
- http://prdownloads.sourceforge.net/tclsoap/winsend-0.4.zip
+ http://prdownloads.sourceforge.net/tclsoap/winsend-0.5.zip
for the docs (this document) and code respectively.
Pat Thoyts.
-<! -- winsend.man - Copyright (C) 2002 Pat Thoyts <Pat.Thoyts@bigfoot.com> -->
+<! -- winsend.man - Copyright (C) 2002 Pat Thoyts &lt;Pat.Thoyts@bigfoot.com&gt; -->
<! -- $Id$ -->
<html><head><title>winsend - winsend </title></head>
<! -- Generated from winsend.man by tcllib/doctools/mpexpand with fmt.html -->
-<! -- Copyright (c) 2002 -->
+<! -- Copyright (c) 2002 pat -->
<! -- All rights reserved -->
<! -- CVS: $Id$ winsend.n -->
-<h1> winsend(n) 0.4 winsend "winsend"</h1>
+<h1> winsend(n) 0.5 winsend "winsend"</h1>
<a name="name"><h2>NAME</h2>
<p> winsend - send implementation for windows platform
Windows Scripting Host cscript application using
<b class='cmd'>cscript test.vbs</b>
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
- Set interp = GetObject("\\.\TclInterp\tkcon.tcl")
- interp.Send "puts {Hello from VB Script}"
- WScript.Echo interp.Send("info tcl")
-</pre></td></tr></table></p>
+ Set interp = GetObject("\\.\TclInterp\tkcon.tcl")
+ interp.Send "puts {Hello from VB Script}"
+ WScript.Echo interp.Send("info tcl")</pre></td></tr></table></p>
+
Provided you have an instance of Tcl running registered with
<b class='cmd'>winsend appname tkcon.tcl</b> you should see the message appear in
the Tcl window and the Tcl version should be printed to the cscript
<p>
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
% package require winsend
-0.4
+0.5
% winsend appname MyApp
MyApp
% winsend send MyApp info tcl
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
An example (from tkcon): from a concurrent tclsh:
% package require winsend | % package require winsend
- 0.4 | 0.4
+ 0.5 | 0.5
% winsend interps | % winsend interps
tkcon.tcl | tkcon.tcl TCLSH.EXE
| % winsend send tkcon.tcl set x 1
<a name="downloadandinstallation"><h2>DOWNLOAD and INSTALLATION</h2>
The latest version is available at
-<a href="http://prdownloads.sourceforge.net/tclsoap/winsend-0.4.zip">http://prdownloads.sourceforge.net/tclsoap/winsend-0.4.zip</a>
+<a href="http://prdownloads.sourceforge.net/tclsoap/winsend-0.5.zip">http://prdownloads.sourceforge.net/tclsoap/winsend-0.5.zip</a>
This includes the source and the DLLs. To install, copy the DLLs and
-the "<strong>pkgIndex.tcl</strong>" file to a subdirectory of your <strong>auto_path</strong>
-variable. For instance, to "<strong>c:/Program Files/Tcl/lib/winsend04/</strong>"
+the "<strong>pkgIndex.tcl</strong>" file to a subdirectory of your <strong>auto_path</strong>
+variable. For instance, to "<strong>c:/Program Files/Tcl/lib/winsend05/</strong>"
<p>
[comment {winsend.man - Copyright (C) 2002 Pat Thoyts <Pat.Thoyts@bigfoot.com>}]
[comment {$Id$}]
-[manpage_begin winsend n 0.4]
+[manpage_begin winsend n 0.5]
[moddesc {winsend}]
[titledesc {send implementation for windows platform}]
[require Tcl 8.3]
[para]
[example {
% package require winsend
-0.4
+0.5
% winsend appname MyApp
MyApp
% winsend send MyApp info tcl
[example {
An example (from tkcon): from a concurrent tclsh:
% package require winsend | % package require winsend
- 0.4 | 0.4
+ 0.5 | 0.5
% winsend interps | % winsend interps
tkcon.tcl | tkcon.tcl TCLSH.EXE
| % winsend send tkcon.tcl set x 1
[section {DOWNLOAD and INSTALLATION}]
The latest version is available at
-[uri {http://prdownloads.sourceforge.net/tclsoap/winsend-0.4.zip}]
+[uri {http://prdownloads.sourceforge.net/tclsoap/winsend-0.5.zip}]
This includes the source and the DLLs. To install, copy the DLLs and
the [file pkgIndex.tcl] file to a subdirectory of your [var auto_path]
-variable. For instance, to [file {c:/Program Files/Tcl/lib/winsend04/}]
+variable. For instance, to [file {c:/Program Files/Tcl/lib/winsend05/}]
[para]