I am looking for a way to monitor other applications, initially Pages, so that my program can log how many times someone uses a command. For example I would like to log when someone presses the Bold or Italics button.
My aim is to show the keyboard shortcut on screen when anyone clicks the Bold button for example.
Is there a way to monitor the processes that are running and figure which one is Pages and listen for when a specific command on the menu or in a toolbar is executed.
My aim is to show the keyboard shortcut on screen when anyone clicks the Bold button for example.
Is there a way to monitor the processes that are running and figure which one is Pages and listen for when a specific command on the menu or in a toolbar is executed.