AppleScript support

Is there any way to make a Desktop application AppleScript compliant ?

Sure.

That’s pretty advanced stuff. Check out: http://documentation.xojo.com/index.php/AppleEvent

And what about Windows Script ?