Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting events in other applications

Status
Not open for further replies.

Elroacho

Programmer
Apr 19, 2004
59
NZ
Hi,
I am about to emberk on a project but need some advice.

Is there a way of picking up mouse click events in other applications (Microsoft mainly but others would be great if possible)? In particular the clicking of menu options and toolbar buttons.

I would need to know the application and the event itself (e.g. FileOpen, Copy etc).

Also is it possible to send commands to an application such as paste, save as and the like?

Cheers,
Kevin.
 
Are you the developer of the "Other application"? Do you have the source code for it? or you want to spy on (no offense here, it is just a technical term) a running compiled application?

Walid Magd (MCP)

The primary challenge of every software development team is to engineer the illusion of simplicity in the face of essential complexity.
-Grady Booch
 
Hi,
I wanted to "spy" on other applications. Mainly microsoft one such as the office apps and Visual Studio if possible.

Cheers,
Kevin.
 
You don’t need to spy on office apps, MS Office supports call backs through interfaces. All you need to do is to implement the interface you need in your application and office will notify you when the events you subscribed to are fired. I remember I wrote a paper, mainly for my self, during my work in a similar project. I can search for it and send it to you. What is the language you write your application with? What is the version of office you are interested in “violating its privacy”? -:)

Walid Magd (MCP)

The primary challenge of every software development team is to engineer the illusion of simplicity in the face of essential complexity.
-Grady Booch
 
Hi,

I was intending to use either C# or VB. Alsi thought if I needed to learn VBA then I would.

Cheers,
Kevin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top