Help With Mouse Tracker App
Hello Everyone,
I am an experienced (professional) software engineer, but totally new to OS/X development. I have problems with my eyesight, and I'm trying to write an application for the Mac that makes it easier to use the system. Keeping track of where the mouse pointer is is a common problem for most people with poor eyesight. I have hired someone to develope an application on windows that helps locate the mouse pointer. When a pre-configured hotkey is pressed, this app draws a line from the four corners of the screen to the current mouse pointer. I would like to develop the same app for OS/X, but I don't know where to begin.
I need some guidance/pointers from a patient and kind soul to help me out. In particular, I need to know:
* How to get the current mouse position
* How to draw lines on the root window (preferably using inverse colors)
* How to traps keyboard input when not the application with the mouse focus
* A basic skeleton on an application
One alternative to trapping hotkeys is to use the trackpad -- if the user taps and holds one finder for X seconds, the app will activate. If the user lifts his/her finger off of the trackpad, the lines are erased.
I assume the best way to write this app is in Xcode?
Any help would be grealy appreciated. I plan to make this app available to everyone who may need it. I have signed up as an Apple Developer and downloaded and installed Xcode for Lion.
Thanks,
Kory
Mac Pro