# Script menu questions

**URL:** <https://forums.steinberg.net/t/script-menu-questions/844817>\
**Category:** Dorico\
**Created:** [April 17, 2023, 4:23pm UTC](https://forums.steinberg.net/t/script-menu-questions/844817 "2023-04-17T16:23:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![derhannes](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/derhannes/32/1642_2.png) [@derhannes](https://forums.steinberg.net/u/derhannes)\
**Post date:** [April 17, 2023, 4:23pm UTC](https://forums.steinberg.net/t/script-menu-questions/844817/1 "2023-04-17T16:23:45Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Mark\_Johnson](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/mark_johnson/32/143124_2.png) [@Mark\_Johnson](https://forums.steinberg.net/u/Mark_Johnson)\
**Post date:** [April 17, 2023, 7:59pm UTC](https://forums.steinberg.net/t/script-menu-questions/844817/2 "2023-04-17T19:59:41Z")

</div>

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](https://forums.steinberg.net/t/dorico-3-keyboard-shortcuts-for-microtonal-accidentals/133160/5) for more info.

---

<div class="post-metadata">

**Author:** ![derhannes](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/derhannes/32/1642_2.png) [@derhannes](https://forums.steinberg.net/u/derhannes)\
**Post date:** [May 4, 2023, 9:13am UTC](https://forums.steinberg.net/t/script-menu-questions/844817/3 "2023-05-04T09:13:29Z")

</div>

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 😉

---

<div class="post-metadata">

**Author:** ![Mark\_Johnson](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/mark_johnson/32/143124_2.png) [@Mark\_Johnson](https://forums.steinberg.net/u/Mark_Johnson)\
**Post date:** [May 4, 2023, 12:53pm UTC](https://forums.steinberg.net/t/script-menu-questions/844817/4 "2023-05-04T12:53:57Z")

</div>

Try [this thread](https://forums.steinberg.net/t/assigning-scripts-macros-to-keyboard-shortcuts/149302) instead. (Are you on Windows or Mac?)

---

<div class="post-metadata">

**Author:** ![derhannes](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/derhannes/32/1642_2.png) [@derhannes](https://forums.steinberg.net/u/derhannes)\
**Post date:** [May 4, 2023, 3:04pm UTC](https://forums.steinberg.net/t/script-menu-questions/844817/5 "2023-05-04T15:04:36Z")

</div>

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

I put this in my key commands\_de.json:

```auto
"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!

---

<div class="post-metadata">

**Author:** ![Mark\_Johnson](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/mark_johnson/32/143124_2.png) [@Mark\_Johnson](https://forums.steinberg.net/u/Mark_Johnson)\
**Post date:** [May 4, 2023, 3:06pm UTC](https://forums.steinberg.net/t/script-menu-questions/844817/6 "2023-05-04T15:06:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![derhannes](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/derhannes/32/1642_2.png) [@derhannes](https://forums.steinberg.net/u/derhannes)\
**Post date:** [May 4, 2023, 5:53pm UTC](https://forums.steinberg.net/t/script-menu-questions/844817/7 "2023-05-04T17:53:12Z")

</div>

> [@Mark\_Johnson](#):
>
> Also I tried the direct approach (in post #4 of that thread) for the first time today, and it works!

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