Jump to content

Get current selected keyboard language

  • Please log in to reply
No replies to this topic



    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Hi there,

I was developing a command line app which runs in background, but i found some difficulties related to keyboard language...

I need to know when the user changes the keyboard language (with international menu).

I tried with TISCopyCurrentKeyboardInputSource() defined in Carbon.h, but it always returns the same keyboard language when my app runs in bg.

What i need now is a command line app which run in bg and write to a file each language change... Is it possible???

Thanks!!, and please help Posted Image

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy