简体   繁体   中英

How to I launch an on-screen keyboard from my application on Mac OSX?

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.

Does anybody know how I can do this?

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

From Terminal:

open -a KeyboardViewerServer

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

If you have problems with it on Leopard, see also

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM