Hello,
Thank you for the useful information.
Now,
About this problem solving method
As a method, should I use the example in the space between ************ below?
****************
• Macros can use a name instead of a number. Name ()
Example: toolheightset ()
• Here is the format of a macro.
     function m # ()
      your code
  end
  if (mc.mcInEditor () == 1) then
m # ()
end
  The last 3 lines let you run or step through the macro while in the editor.
*******************