Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C Java Perl Python Flash
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 12:30pm
Dan_Sc116
Edited 16-Jan-11 1:37am
TweakBird17.1K
v2
Rate this: bad
good
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:
 
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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 504
1 Maciej Los 349
2 Kornfeld Eliyahu Peter 325
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,303
1 DamithSL 4,764
2 Maciej Los 4,306
3 Kornfeld Eliyahu Peter 3,914
4 Sergey Alexandrovich Kryukov 3,538


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 16 Jan 2011
Copyright © CodeProject, 1999-2014
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