# Python API Toolbar Plugin & Tutorial

**URL:** <https://forums.unrealengine.com/t/python-api-toolbar-plugin-tutorial/2223729>\
**Category:** Editor Scripting\
**Tags:** automationtool, Python, Editor-Scripting, editor-viewports, Code-Plugins, unreal-engine, api\
**Created:** [December 15, 2024, 11:28pm UTC](https://forums.unrealengine.com/t/python-api-toolbar-plugin-tutorial/2223729 "2024-12-15T23:28:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyStark9696](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tonystark9696/32/1008544_2.png) [@TonyStark9696](https://forums.unrealengine.com/u/TonyStark9696)\
**Post date:** [December 15, 2024, 11:28pm UTC](https://forums.unrealengine.com/t/python-api-toolbar-plugin-tutorial/2223729/1 "2024-12-15T23:28:56Z")

</div>

I created a plugin using the Python API that allows you to run Python scripts from the Editor Tool Bar instead of using the Python Console or the `Tools -> Execute Python Script` menu. Add Python scripts to your projects `Scripts/Python` directory. They will appear under a new “Quick Scripts” dropdown on the main toolbar. I documented the code thoroughly, but if you have questions, feel free to ask.

The plugin and source code are available here: [GitHub - Zrondos/unreal-python-quick-scripts-plugin: Unreal Engine Plugin to quickly run Python scripts from the Main Menu toolbar](https://github.com/Zrondos/unreal-python-quick-scripts-plugin)

Here’s a demo:  
 ![demo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/7/4f706203e359560e021601e4be3bdc6c298e8477.gif)

SEO Keywords:  
ToolMenus  
ToolMenus.get()  
find\_menu  
add\_sub\_menu  
section  
section\_name  
add\_section  
add\_menu\_entry\_object  
ToolMenuEntryScript  
execute  
ToolMenuContext  
refresh\_all\_widgets
