Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.)

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.