Scripting FLTK Applications???

Does anyone have experience with using AppleScript to control applications ported to the Mac via FLTK (Fast Light Tool Kit) ? I’m working with a game, and getting it to accept various things (especially mouse clicks) from AppleScript is just impossible.

Hoping for some help.