Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Close a window using a program. Help!

807567Nov 2 2000 — edited Nov 2 2000
I 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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2000
Added on Nov 2 2000
1 comment
60 views