William Park wrote:

>Anyways, if you can't find solution within LibreOffice, then you can 
>resort to 'xdotool' solution, eg.
>     xdotool search "LibreOffice Calc" windowactivate --sync key 
>--clearmodifiers F2 Home Delete Enter
>
>So, sequence would go like... click the cell, switch to terminal, and 
>run the command.  Repeat.  It would be nice to apply a command on a 
>range of cells, but you're sending keystrokes blindly, so the 
>"repeating" has to be done by LibreOffice.  Say, apply on the first 
>cell, then apply the same to the rest.

Thanks. That works, minus the simple repeat. I actually used the command
'xdotool selectwindow key --clearmodifiers F2 Home Delete Enter'. Clicking
the correct window does not change focus so I can repeat on the xterm
with up-enter. When the next lower cell is not appropriate, I can change
the selected cell in LO before repeating.

I suppose I could put it in a loop of some kind but not worth it for now.
I still think LO itself should provide some simple way to do this.
-- 
Dave Close, Compata, Irvine CA      "If I seem unduly clear to you,
d...@compata.com, +1 714 434 7359    you must have misunderstood
dhcl...@alumni.caltech.edu           what I said." -- Alan Greenspan



-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to