Script menu questions

  1. Can I alter the ordering of items in the script menu? Maybe alphabetically?

  2. Can I assign a key command to a script in the script menu?

  1. Not as far as I know. I don’t understand the ordering, myself.
  2. Yes, but not with the Key Commands interface. You have to edit your keycommands json file manually. See this thread for more info.

Thank you for your reply, but the thread you mentioned doesn’t give a solution to my second question.
I want to create a keyboard shortcut which executes a certain script from the script menu (not the last recorded). Maybe someone else has a solution for this. Would make me very happy :wink:

1 Like

Try this thread instead. (Are you on Windows or Mac?)

I’m on Mac. Followed your link and: I AM HAPPY!

I put this in my key commands_de.json:

"context" : "kWriteMode",
    "shortcuts" : [
        "Script.RunScript?ScriptPath=/Users/hannes/Library/Application Support/Steinberg/Dorico 4/Script Plug-ins/Punktierte 8tel-16tel begradigen.lua" : [ "F16" ]

This works like a charm!

Thank you!

Also I tried the direct approach (in post #4 of that thread) for the first time today, and it works!

I suppose the only disadvantage of that is: no warning about shortcuts in use elsewhere.

I also will use this approach on my Mac after checking wether the keyboard shortcut is already in use.