Hello Guest it is March 31, 2020, 08:51:23 AM

Author Topic: Macros in Addons???  (Read 2027 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,279 6,279
    • View Profile
    • 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