如何在Mac OSX上从我的应用程序启动屏幕键盘?

时间:2021-08-18 07:31:42

I know there is an on-screen keyboard which you can access on Mac OSX, however I need to add a toolbar button to launch it from within my application.

我知道有一个可以在Mac OSX*问的屏幕键盘,但是我需要添加一个工具栏按钮来从我的应用程序中启动它。

Does anybody know how I can do this?

有人知道我怎么做吗?

1 个解决方案

#1


3  

You can launch KeyboardViewerServer.app in whatever way your language does that (you do not say which)

您可以用您的语言以任何方式启动KeyboardViewerServer.app(您没有说明哪个)

From Terminal:

open -a KeyboardViewerServer

I found it in /System/Library/Components/KeyboardViewer.component/Contents/SharedSupport/KeyboardViewerServer.app

我在/System/Library/Components/KeyboardViewer.component/Contents/SharedSupport/KeyboardViewerServer.app中找到了它

If you have problems with it on Leopard, see also

如果您在Leopard上遇到问题,另请参阅

http://discussions.apple.com/thread.jspa?threadID=1257002&tstart=50

#1


3  

You can launch KeyboardViewerServer.app in whatever way your language does that (you do not say which)

您可以用您的语言以任何方式启动KeyboardViewerServer.app(您没有说明哪个)

From Terminal:

open -a KeyboardViewerServer

I found it in /System/Library/Components/KeyboardViewer.component/Contents/SharedSupport/KeyboardViewerServer.app

我在/System/Library/Components/KeyboardViewer.component/Contents/SharedSupport/KeyboardViewerServer.app中找到了它

If you have problems with it on Leopard, see also

如果您在Leopard上遇到问题,另请参阅

http://discussions.apple.com/thread.jspa?threadID=1257002&tstart=50