# Execute macro from other GUI

**URL:** https://discourse.paraview.org/t/execute-macro-from-other-gui/4430
**Category:** ParaView Support
**Created:** [May 27, 2020, 7:05pm UTC](https://discourse.paraview.org/t/execute-macro-from-other-gui/4430 "2020-05-27T19:05:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ylwang](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/4491bb/32.png) [@ylwang](https://discourse.paraview.org/u/ylwang)
#### Post date: [May 27, 2020, 7:05pm UTC](https://discourse.paraview.org/t/execute-macro-from-other-gui/4430/1 "2020-05-27T19:05:51Z")

</div>

Hello,

I am developing a GUI by c#. I would like to build a function that automatically open the paraview, load the file, and execute the macro.  
I can accomplish the first two steps but have difficulty finding the solution for the third step.  
I guess there’s a specific command for paraview to execute the macro because I can not run the macro by executing it directly or dragging it in to the paraview.

Any suggests are welcome and appreciated.
