在 Mac 中启动时运行 kiosk.app
我想在 mac(snow leopard) 的来宾帐户启动时启动应用程序 (.app)。该应用程序还禁用所有快捷方式和停靠栏(使用信息亭)。用户必须输入令牌号才能登录。我已经制作了该应用程序,但我不能强迫所有其他服务停止。如果我通过系统->服务将其放入启动顺序,则该应用程序不会出现在前面。相反,它已启动,但在文档中,我必须左键单击它才能在前面启动它。 :( (我想通过编辑 mac OS 的启动顺序以编程方式执行此操作)
问题是我使用了 kiosk,它仅在我的应用程序位于前面时才有效。
所以我需要执行这个我无法弄清楚的操作。 1)仅运行我的应用程序(登录后且无其他服务),一旦我的应用程序退出,Mac的其余部分应该启动。
提前致谢 如果您能提供任何帮助
i want to startup an application (.app) at startup in a GUEST ACCOUNT in mac(snow leopard). THe app disables all shortcuts and dock as well(using kiosk). The user must enter a token number to login . I have made the app but i cant force every other service to stop . If i put it in boot sequence through system->services, the app does not come at front. instead it is launched but is in the doc and i have to left click it to launch it in front. :(
(i want to do this programmatically by editing the boot sequence of mac OS )
Problem is I used kiosk and it only works when my application is in front.
So i need to perform this that i cant figure out.
1) run my app only(after login and NO OTHER SERVICE) and rest of the mac should boot once my app has exited.
Thanks in advance
for any help that u can provide
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经尝试在您的上一个问题中告诉您,您可能走错路了。如果您将某些内容放入用户的登录项中,则可以通过在登录时按住“shift”轻松将其停用(您可能不希望这样做);另外,在我看来,完全破解您的 Mac OS 启动例程(如果可以可以做到的话)有点过分了。
您应该认真考虑
您的,Asmus
P.S.:在您的 上一个问题您对 mipadi 的答案发表评论说您找到了一个很好的链接,但认为它丢失了。您能否添加此内容,因为将来其他人可能会对此感兴趣。
I already tried to tell you in your previous question that you are probably going the wrong way. If you put something into a user´s login items, it can easily be deactivated by holding "shift" while logging in (which you probably do not want); also, completely hacking your Mac OS Startup routine (if it can be done) is a bit too much in my eyes.
You should seriously consider
Yours, Asmus
P.S.: on your previous question you commented on mipadi´s answer that you have found a great link, thought it´s missing. Could you maybe add this, as this might be interesting for other people in the future.