LoginSignup
0
0

More than 5 years have passed since last update.

OpenOffice( Calc )のMacro(Python)をコマンドラインで実行する等

Posted at

コマンドライン(Powershell)からMacro(Python)を実行する。

sample.ps1
 C:\LibreOffice\program\scalc.exe
 C:\LibreOffice\program\soffice.exe 'vnd.sun.star.script:a1.py$a1?language=Python&locati
on=share'

Python Scriptの置き場所

C:\LibreOffice\share\Scripts\python

参考

https://ask.libreoffice.org/en/question/40234/how-to-open-document-and-launch-python-macro-from-command-line/
https://blue21neo.blogspot.com/2016/12/libreofficecalcbasicpython.html
https://qiita.com/zanjibar/items/fa4d4c690cd07828d4f9

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0