Posting events in OS X with CGEventPost


I realize nobody reads this blog but I’m hoping someone finds this when searching the web. xD

I’m having problems when posting my own mouse left and middle clicks using CGEventPost under Mac OS X Lion. My left click events don’t properly switch between windows and my middle click events don’t properly open new tabs.

I’ve posted a more detailed stack overflow question but have yet to receive any answers. 😦

stack overflow link:

Here’s to hoping someone reads this. 😛 😀


0 Responses to “Posting events in OS X with CGEventPost”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

I am a student of Engineering Physics at Uppsala University and am currently working on my master's thesis. On this website I mostly write about my own programming projects.

%d bloggers like this: