Click here to Skip to main content
12,997,038 members (128,987 online)
Rate this:
Please Sign up or sign in to vote.
I am working on a thesis project and would like to run the program X-Plane for Mac from within a presentation (the presentation could be it's own program if necessary). At one point in the presentation, I would like X-Plane to be framed inside a slide and be able to operate the program with links, such as click a button to load a mission. I think the links can act as keyboard shortcuts; say, click somewhere and the presentation sends a string of key commands.

I'm fairly proficient in different programming languages, but I have never tired something like this. Is there a language, or a best language, where this is possible?
Posted 14-Jan-11 11:30am
Updated 16-Jan-11 0:37am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I think the only way you could pull this off is if the application in question could be constrained in a window that your own application creates. Since X-Plane is a game, and since most game companies would never even consider running their game in a window that wasn't borderless and full screen, this is going to be quite the feat of magic. However, I've always been fond of saying that if you can think of it, it can be done in software.

As far as language, OS-X is nothing more than a proprietary version of BSD, but being BSD, it opens you up to be able to use any language available for the base OS. I would probably go with C++ since it's widely used and support is good, not to mention the existence of at least one free compiler. I also found this link:[^]

The paragraph that talks about re-routing system calls is probably going to be important. It provides a couple of links (that I did not follow).

If you manage to get this thing flying (no pun intended), be sure to come back here and post an article about how you made it happen.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

One alternative could be to use VNC.

Here is an osx compatible product:

You should be able to embed a VNC client inside your presentation program.

Espen Harlinn

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170622.1 | Last Updated 16 Jan 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100