Jon, interesting that you had the programming for monitoring the lock state. I had been trying to do the same thing so that on my OmniTouch screen it would show the lock status. For some reason, using an object property it always shows as locked. Using flags, similar to your code above, I get 1 for locked and 0 for unlocked.
Any ideas on how to display the correct status?
Haiku obviously shows the correct state, so it must be possible
Any ideas on how to display the correct status?
Haiku obviously shows the correct state, so it must be possible