Sikuli gets around this by using picture based computing. Instead of needing intimate knowledge of a particular API or language you simply use Sikuli script to take an action on an area of the screen it finds by you giving it a picture.
DownloadSquad: Sikuli uses screen shots to run scripts