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
- use command winfo interps to find out all the names of Tk applications reachable with send.
- to get the real name of a spplicaiton, using tk appname <application>.
- run tcl command remotely by send [tk appname <application>] <command>.