# Creating a new hotkey in MMBasic

**URL:** <https://forum.clockworkpi.com/t/creating-a-new-hotkey-in-mmbasic/16680>\
**Category:** PicoCalc\
**Created:** [April 10, 2025, 2:04pm UTC](https://forum.clockworkpi.com/t/creating-a-new-hotkey-in-mmbasic/16680 "2025-04-10T14:04:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![delpozzo](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/delpozzo/32/14431_2.png) [@delpozzo](https://forum.clockworkpi.com/u/delpozzo)\
**Post date:** [October 20, 2025, 8:42pm UTC](https://forum.clockworkpi.com/t/creating-a-new-hotkey-in-mmbasic/16680/6 "2025-10-20T20:42:48Z")

</div>

To set up a custom Fn hotkey in MMBasic, use the following syntax:

OPTION F8 “RUN “+chr$(34)+”myprog” +chr$(34)+chr$(13)+chr$(10)

On my PicoCalc, I configured F6 to launch rgpapp’s [Picocalc Commander (PCC) file manager](https://forum.clockworkpi.com/t/picocalc-commander-pcc/19689) by running the following command:

`option F6 "RUN "+chr$(34)+"b:/pcc" +chr$(34)+chr$(13)+chr$(10)`

If curious:  
chr$(34) = Double Quotes  
chr$(13) = Carriage Return  
chr$(10) = Line Feed

---

_[View the full topic](https://forum.clockworkpi.com/t/creating-a-new-hotkey-in-mmbasic/16680)._
