# Running macro in batch mode

**URL:** https://discourse.paraview.org/t/running-macro-in-batch-mode/10861
**Category:** ParaView Support
**Created:** [November 25, 2022, 2:27pm UTC](https://discourse.paraview.org/t/running-macro-in-batch-mode/10861 "2022-11-25T14:27:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Trophime](https://discourse.paraview.org/user_avatar/discourse.paraview.org/trophime/32/966_2.png) [@Trophime](https://discourse.paraview.org/u/Trophime)
#### Post date: [November 25, 2022, 2:27pm UTC](https://discourse.paraview.org/t/running-macro-in-batch-mode/10861/1 "2022-11-25T14:27:11Z")

</div>

Hi,  
I would like to automate some post-processing of my fem simulation.  
I’ve created some macros to do that.

My problem now is that I cannot figure out how to call the macro directly from a command line on my linux box. Can you give me some hints on how to do that?

PS: can we automatically register (or load) a plugin in a paraview docker image?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 28, 2022, 12:26pm UTC](https://discourse.paraview.org/t/running-macro-in-batch-mode/10861/2 "2022-11-28T12:26:07Z")

</div>

Hi.

> script from a command line on my linux box.

`paraview --script`

> can we automatically register (or load) a plugin in a paraview docker image?

Set PV\_PLUGIN\_PATH env var

Best,
