Can an external program ask a GUI application (for example: Gedit, Firefox) to select all the text of the active widget?
--
EDIT: I am looking for the equivalent of pressing Control+A
, because blindly sending key presses has proven to be not reliable, as in my former question: `xdotool` does not send keys
EDIT2: I am assuming that the GUI app already has focus.
xsel
, butxsel
only lets you access something that has already been selected. I am looking for the equivalent ofControl+A
in many programs, but without sending key presses. – Eleno Jul 10 '15 at 17:14Control+A
(and I actually can't: http://unix.stackexchange.com/questions/214909/xdotool-does-not-send-keys) – Eleno Jul 10 '15 at 17:42