active TCL script in two HyperMesh windows
Hi,
I am looking for a solution to make TCL scripts active in two HyperMesh windows simultaneously.
Let say I am having two HM windows opening simultaneously, I run a TCL script from a window. This file contains a GUI interface.
I expect that when I perform an action on the TCL GUI ( eg: click a button), the command will be executed in both windows
Any idea will be very appreciated. Thank you!
Find more posts tagged with
Hi,
If HM windows are run on same machine, you just need to load dde package, create dde topics to communicate between the windows
if HM windows are run on different machines, you need to use socket command.
another 'trivial' method: after performing some actions on window#1, output those commands to a *.tcl file
(or clipboard)
and on window#2, set a timer script that scans for the file or clipboard, detects those commands, then performs them
dde execute ?-async? service topic data
here what are the supported topic by HM.
Hi,
If HM windows are run on same machine, you just need to load dde package, create dde topics to communicate between the windows
if HM windows are run on different machines, you need to use socket command.
another 'trivial' method: after performing some actions on window#1, output those commands to a *.tcl file
(or clipboard)
and on window#2, set a timer script that scans for the file or clipboard, detects those commands, then performs them