Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00f401c23995$54de2470$a352a518@samsystem> From: "Samuel" To: Cc: References: <200207312043 DOT g6VKhwBs025800 AT lamx01 DOT mgw DOT rr DOT com> Subject: Re: Automating Windows from cygwin Date: Thu, 1 Aug 2002 12:55:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: "James Ganong" To: Cc: Sent: Wednesday, July 31, 2002 1:36 PM Subject: Automating Windows from cygwin > > I have some scientific instruments that will only talk to > a proprietary Windows app, and some Linux programs that > analyze the data. > I would really like to automate the process of running the Windows > program so that the Linux programs could talk to cygwin over the net > and get the data. > The problem is that the windows app was written long ago, > and source is not available. So I am wondering if there > is a way to run an arbitrary windows application and do something > like mouse macros from cygwin. > > Does anybody know of a way to do mouse macros from cygwin, or a way > to invoke menu items from a arbitrary windows app from cygwin, or a better way > to approach this? I have the impression that some people do mouse macros > via vnc. Is there some O'Reilly book that I should have read? If You can't find anything simpler then you could write your own routine that uses Windows Hooks to do that. You probably do not need a "mouse macro"; you probably just need to issue commands (use the menus) and exchange data, which can probably be done without using the mouse. Since none of that probably have anything to do with CygWin they could be and should be discussed in a Windows programming group. I have a collection of resources about Windows Hooks in my web site at: http://www.cpp.atfreeweb.com/Hooks.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/