I am using xdotool to automate some GUI usage. That works pretty well, but sometimes I want to check what button currently has focus. So I need to query the value of that button. xdotool doesn't seem to support that (can only get window titles). Is there any other tool that archieves that? (And could someone with enough reputation create a tag for xdotool ... it's such a common tool in the Unix world.)

link|improve this question

75% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.