Hello Guest it is April 25, 2024, 07:05:16 PM

Author Topic: Command to open a specific Wizzard ?  (Read 485 times)

0 Members and 1 Guest are viewing this topic.

Command to open a specific Wizzard ?
« on: July 01, 2022, 07:59:17 AM »
Hello everyone,
I am making my custom screen and i need a button to open a specific wizard. I found the command to load a specific GCode but not a wizard.
I know i can set it to open the last wizard but it dosen't suit my usage.

To explain my setup, i made a custom wizard to generate a GCode file for my machine. I then open it and run it.

Thanks for your help !
Re: Command to open a specific Wizzard ?
« Reply #1 on: July 06, 2022, 02:48:21 PM »
Can you just copy the code from the wizard into a button on the screen?

Alternatively you could try the following API. But I am not sure if it is appropriate to use this call for running wizards
Code: [Select]
rc = mc.mcScriptExecute(
number mInst,
string filename,
number async)