# Is there a way to run scripts with a keyboard shortcut?

**URL:** <https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [April 6, 2026, 7:55am UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357 "2026-04-06T07:55:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yinodo2737](https://avatars.discourse-cdn.com/v4/letter/y/e8c25b/32.png) [@yinodo2737](https://forum.dynamobim.com/u/yinodo2737)\
**Post date:** [April 6, 2026, 7:55am UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/1 "2026-04-06T07:55:00Z")

</div>

I have a script that only requires selecting an element, and I use it many times throughout the day. I know I can run it from the player, but I was wondering if it’s possible to assign it a keyboard shortcut.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [April 6, 2026, 12:23pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/2 "2026-04-06T12:23:09Z")

</div>

Anything is possible, but depending on what the Dynamo graph does you might be better off converting it to a new means of execution (i.e. an add-in) as the speed via player will likely match the speed via keybinding.

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [April 10, 2026, 1:55pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/3 "2026-04-10T13:55:01Z")

</div>

Hi @yinodo2737 ,

It’s been a while since I worked specifically on this, if I remember correctly, using [PyRevit](https://discourse.pyrevitlabs.io/) you can also add buttons that directly point at Dynamo graphs, and (if I remember correctly here as well) you can make those also have key binds.

But maybe this is a bit of a convoluted way to do this. Yet, I am 100% sure that what you’re asking is possible, except I cannot give you a good direction, but if you Google it/ search on the forum I’m pretty sure you’ll figure out a way.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [April 10, 2026, 2:13pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/4 "2026-04-10T14:13:18Z")

</div>

yeah and if i remember and probably wrong Orchestra have that option as well where we can create hotkeys,ps havent check right now so…

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [April 10, 2026, 2:44pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/5 "2026-04-10T14:44:09Z")

</div>

Ah yea likely Orchestra instead of [PyRevit](https://discourse.pyrevitlabs.io/) 🙂

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [April 16, 2026, 11:14am UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/6 "2026-04-16T11:14:28Z")

</div>

Yes, I’ve used Orchestra for Dynamo, and it does allow you to assign keyboard shortcuts to specific scripts, which is very useful. However, it’s a paid solution.

Alternatively, I would recommend [pyRevit](https://discourse.pyrevitlabs.io/), which is free and also provides flexible options for running scripts, including custom buttons and shortcuts.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [April 16, 2026, 11:22am UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/7 "2026-04-16T11:22:32Z")

</div>

Hi @_Vijay probably right, but last time i checked it should be a part of the unpaid option i dont use that in the moment…so…and about [pyrevit](https://discourse.pyrevitlabs.io/) i dont use it…so not really sure 😉 but for sure possible one way or another…as we say 😉 😉

---

<div class="post-metadata">

**Author:** ![jwroelofs](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jwroelofs/32/55712_2.png) [@jwroelofs](https://forum.dynamobim.com/u/jwroelofs)\
**Post date:** [April 16, 2026, 11:53am UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/8 "2026-04-16T11:53:05Z")

</div>

With Relay it is also possible you have to assign an key board shortcut to the script.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/8/08bc78c2c2b69b1156fe34c034a7f3f2d16dee4c.png) Thanks for the idea I did not think about it earlier.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [April 16, 2026, 12:06pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-run-scripts-with-a-keyboard-shortcut/114357/9 "2026-04-16T12:06:15Z")

</div>

> [@\_Vijay](#):
>
> I would recommend [pyRevit](https://discourse.pyrevitlabs.io/),

I don’t think anyone should be recommending this tool until the IronPython2 component is complete removed. You’re putting a lot of risk into the environment otherwise.
