Automated controls

I'm thinking about starting a project that automates mouse movement/clicks and keyboard strokes. What kind of libraries should I be looking at, and if possible, is there any way to avoid os api's?
Topic archived. No new replies allowed.