Call scripts from scripts

Post here to ask questions about or get help with the scripting module of QCAD 2.1/2.2.

Moderator: andrew

Call scripts from scripts

Postby hungerburg » Thu Sep 09, 2010 3:11 pm

Is there a way to call a script from another script and pass variables from the first one on to the next one?

Eg: I want to have a dialog, that can either start from some defaults or from previously defined values. As there seems to be no way of having a "file open" button in a dialog (only ok, no, cancel... buttons), I would create a new button in qcad's toolbar that displays the file selection and then call out to the real dialogue.

--
peter
User avatar
hungerburg
Senior Member
 
Posts: 117
Joined: Fri May 28, 2010 7:35 pm

Return to QCAD 2.1/2.2 Developers

Who is online

Users browsing this forum: No registered users and 2 guests

cron