Sending a message to a window with c++ on a mac

I'm am making a program that is essentially a bot/auto typer. I need the program to send a message (of text) to a window (in this case Skype). How do i accomplish this on Mac. Im using xcode and c++. thanks for your help!
Last edited on
Topic archived. No new replies allowed.