I am fairly new to programming however I have had an idea for a program. Is there a way to monitor other applications that are currently running and identify when someone runs a command. For example, in MSWord when someone clicks the Bold button to embolden text.
To put it into context my program would identify when people click commands in various programs and show the keyboard shortcut visually on screen so that they can get used to the shortcuts and increase their efficiency using the application. My idea is to have one program that runs in the background and suggests keyboard shortcuts for a range of major programs. Most applications have the shortcut in the menu however newer versions of Office (with the ribbon) do not automatically show the shortcuts.
Is there anyway to achieve this?
5 replies to this topic
#1
Posted 02 August 2011 - 12:41 PM
|
|
|
#2
Posted 02 August 2011 - 11:09 PM
This is highly specific to what operating system you're using. I take it you mean Windows?
sudo rm -rf /
#3
Posted 03 August 2011 - 10:46 AM
Yes I was thinking Windows 7.
#4
Posted 03 August 2011 - 05:33 PM
Microsoft Visual Studio already comes with an app almost exactly like that. They creatively called it Spy. Or something to that effect.
sudo rm -rf /
#5
Posted 06 August 2011 - 06:22 AM
I have done a bit of research on Spy++ however it only appears to give you information about the window. I don't think it would allow me to monitor when the menu items were used and the buttons on the ribbon for example.
#6
Posted 06 August 2011 - 07:22 AM
You should hook a specific thread and its message queue, this is not an easy operation for people who are new in windows programming. Check this link out for more information.
Hooks (Windows)
Hooks (Windows)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









