Hello Guest it is November 08, 2024, 09:20:21 PM

Author Topic: Macros in Addons???  (Read 3758 times)

0 Members and 1 Guest are viewing this topic.

Macros in Addons???
« on: May 23, 2011, 07:21:42 AM »
Do Addons have macros???
If yes, where can i place my own macro? (Which folder)

(I have created a button inside an Addon, that i want to run a macro.)

Thank you,
Giannis

Offline ger21

*
  • *
  •  6,295 6,295
    • The CNC Woodworker
Re: Macros in Addons???
« Reply #1 on: May 23, 2011, 06:11:12 PM »
The macro is saved in the button. Choose Operator > Edit button script, and save the macro there.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Macros in Addons???
« Reply #2 on: May 24, 2011, 02:47:05 AM »
My real problem is not that.
The code contains a MSGBOX and the message is written in my language.
So, although the first time the message appears, if i open the button to edit it, the letters become questionmarks.

Exactly the same happens in the main screen of Mach.
So, if i put my code in a macro (it is tested in the main screen) the message appears as well.

Finally my question is where is the "macro" folder for the addons....

Thank you...
Giannis