Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Move and click the mouse via code' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Move and click the mouse via code
Authored by: ghay on May 14, '08 07:59:21AM

Just a note to say that you are using cocoa objc to access carbon code.

There is a carbon example HIDTestTool on apple's site, which can be easily modified and some CGPostMouseEvents added to move the mouse.

Just if you prefer not mixing your carbon's and cocoa's.



[ Reply to This | # ]
Move and click the mouse via code
Authored by: ghay on May 14, '08 12:12:31PM

I should perhaps say that I was using the HID example to trap apple remote keypresses and map them to the mouse.

It isn't required to use anything from the HID example to set the mouse loc



[ Reply to This | # ]