send is a Tk command used to execute a command in a different application. This send communication mechanism is limited to applications running on one display. Multiple screens on one workstation still count as the same display on X.

In order to use send in your program, you should

    1. use command winfo interps to find out all the names of Tk applications reachable with send.
    2. to get the real name of a spplicaiton, using tk appname <application>.
    3. run tcl command remotely by send [tk appname <application>] <command>.


  1. send manual page:
  2. Practical Programming in Tcl and Tk(4th edition)