Jump to content

Get current selected keyboard language


1 post in this topic

Recommended 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 happy.gif

Link to comment
Share on other sites

 Share

×
×
  • Create New...