Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: giannis121 on May 23, 2011, 07:21:42 AM

Title: Macros in Addons???
Post by: giannis121 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
Title: Re: Macros in Addons???
Post by: ger21 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.
Title: Re: Macros in Addons???
Post by: giannis121 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