Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
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
Updated 16-Jan-11 0:37am
v2

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:

http://osxbook.com/book/bonus/ancient/whatismacosx//programming.html[^]

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.
 
Share this answer
 
One alternative could be to use VNC.

Here is an osx compatible product:
OSXVNC[^].

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

Regards
Espen Harlinn
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900