Ask Your Question

OSX can use a bash script to open calc; any way to run a command? [closed]

asked 2014-03-14 19:03:35 +0200

LeonFromWA gravatar image

updated 2020-08-18 23:28:36 +0200

Alex Kemp gravatar image


In OSX, I can use a bash script to open a calc spreadsheet; Is there any way to execute a command, such as to load a particular previously saved spreadsheet? And then place a value in a cell?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-20 08:07:41.600566

1 Answer

Sort by » oldest newest most voted

answered 2014-03-14 23:25:59 +0200

oweng gravatar image

updated 2014-03-14 23:31:02 +0200

This Linux Questions thread suggests using:

libreoffice "macro:///Standard.Module1.findandreplace" file.odt

... for running a macro (e.g., named "findandreplace") in a document that is to be opened. This macro could be written to perform the types of actions described. Is this what you are asking about?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-03-14 19:03:35 +0200

Seen: 834 times

Last updated: Mar 14 '14