Date: prev next · Thread: first prev next last
2025 Archives by date, by thread · List index


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,
dave@compata.com, +1 714 434 7359    you must have misunderstood
dhclose@alumni.caltech.edu           what I said." -- Alan Greenspan



-- 
To unsubscribe e-mail to: users+unsubscribe@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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.