Re: The current keyboard icon?
Re: The current keyboard icon?
- Subject: Re: The current keyboard icon?
- From: Jonathan Paisley <email@hidden>
- Date: Thu, 6 May 2004 10:25:04 +0100
On 5 May 2004, at 23:30, Oleg Svirgstin wrote:
Hi,
May I have another question: is it possible somehow to ask for a
notification whenever the keyboard changes (e.g., since the
application
just focused a password field)?
I found nothing better than just checking what layout is active from a
timer
loop and comparing its ID to the ID of the "current" layout.
There MUST be a better solution... I was looking for it my hardest.
Finally
I had to use that dirty workaround.
I used Notification Watcher (
http://www.tildesoft.com/Programs.html) to
see if any distributed notifications got sent when I chose a different
keyboard layout from the menu. This one appeared:
AppleKeyboardPreferencesChangedNotification
Hope that is of some use.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.