在Mac上通过inisde程序或演示文稿查看和操作程序 [英] View and operate program from inisde a program or presentation on Mac

查看:133
本文介绍了在Mac上通过inisde程序或演示文稿查看和操作程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究论文项目,并且希望从演示文稿中运行Mac程序X-Plane(如果需要,演示文稿可以是其自己的程序).在演示中的某个时刻,我希望X-Plane可以装在一张幻灯片中,并能够通过链接(例如单击一个按钮来加载任务)来操作该程序.我认为这些链接可以充当键盘快捷键;例如,单击某处,演示文稿将发送一串关键命令.

我精通不同的编程语言,但是我从来没有厌倦过这样的事情.

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?

推荐答案

我认为,实现这一目标的唯一方法是,如果所涉及的应用程序是限制在您自己的应用程序创建的窗口中.由于X-Plane是一款游戏,而且由于大多数游戏公司甚至都不会考虑在并非无边界和全屏的窗口中运行他们的游戏,因此这将是一项神奇的壮举.但是,我一直很喜欢说,只要您能想到它,就可以用软件完成.

就语言而言,OS-X仅仅是BSD的专有版本,而是BSD,它使您能够使用基本OS可用的任何语言.我可能会选择C ++,因为它被广泛使用并且支持良好,更不用说存在至少一个免费编译器了.我也找到了此链接:

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

讨论重新路由系统调用的段落可能很重要.它提供了一些链接(我没有关注).

如果您设法使这件事飞起来(不要双关语),请务必回到这里并发表有关如何实现的文章.
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.


一种替代方法是使用VNC.

这是与osx兼容的产品:
OSXVNC [ ^ ].

您应该能够在演示程序中嵌入VNC客户端.

问候
Espen Harlinn
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


这篇关于在Mac上通过inisde程序或演示文稿查看和操作程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆