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.