Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!swbatl!sarek!mh2620 From: mh2620@sarek.Berkeley.EDU (Mark Horstman [235-3417]) Newsgroups: comp.windows.x Subject: How do I simulate Command button event? Keywords: XSendEvent, Command Message-ID: <1990Sep11.095335@sarek.Berkeley.EDU> Date: 11 Sep 90 14:53:35 GMT Sender: usenet@swbatl.sbc.com (0000-news(0000)) Reply-To: mh2620@sarek.Berkeley.EDU (Mark Horstman [235-3417]) Organization: Southwestern Bell Telephone - St. Louis, MO Lines: 14 I'm trying to simulate a button press/release event in a Athena Command widget but can't seem to get it to work. I'm using XSendEvent. Do I have to fill the whole XButtonEvent structure? Do I have to send a press event followed by a release event or can I just send the release event? I have the O'Reilly manuals (0,1,2,4,5) but can't find a detailed explanation on how to send events. +----------------------------------------------------------------------------+ | Mark A. Horstman Southwestern Bell Telephone | | mh2620@sarek.sbc.com St. Louis, MO | | OR uunet!sarek.sbc.com!mh2620 (314) 235-3417 | +----------------------------------------------------------------------------+