Close a window using a program. Help!
807567Nov 2 2000 — edited Nov 2 2000I want to write a program (or can I download or find a command?) to "automatically" close a window (X11 application). I have to emphasize "close" because I don't want to kill it using command like "xkill". I want to simulation the following mouse action actually:
1. Choose system menu
2. Click the "Close" submenu.
My question is actually how to send a mouse click event to a X11 application. The only input I know is
the PID of the X11 application.
Or is it possible.
I am using Sun Solaris, CDE.
HELP! HELP!