I'm using an add-on (latex2blender).
If I change one parameter, it will show me in the console how it was done it was done in python. Here I am changing the input to "$ x $":
Now I know I can use that in python, i.e. writing:
import bpy
bpy.context.scene.my_tool.latex_code = "$ x $ "
But how can I use python to click the button "Compile as grease Pencil"?
The console just spams custom commands the plguin is using. I was hoping it was possible to do something like "scene.my_tool.button_x_click = True" or something.
Do you have any idea?