How to name macro? "object command" or "command object"

Hello,

To run a macro script, you need to define a macro name. Which of the following two methods do you prefer?

  1. command object
  • hide intensity.lua
  • hide note.lua
  • hide stem.lua
  • show note.lua
  • show stem.lua
  1. object command
    • intensity hide.lua
    • note hide.lua
    • stem hide.lua
    • note show.lua
    • stem show.lua

The first way is good for execution, but the second way is good for managing the macros that are already created, I think.
(If I use my native language, the second way is better for both execution and management, but I use Dorico in English.)

What is your preference?

Most commands are named the first way.
So the second way seems to be better for quickly finding my custom commands.

I would say, try out and see what best suits your workflow.
You can always rename the scripts afterward.

(I personally use 1. because I can better remember the letters to input into the jumpbar to invoke that command.

But if you use more the script menu, then the 2. approach is maybe better for you.)

2 Likes