Custom Keyboard Shortcuts in Your Frappe App

By implementing personalized shortcuts, you can navigate your app more efficiently, perform actions quickly, and save valuable time.

 · 2 min read

Introduction:



Keyboard shortcuts are an effective technique for increasing output and streamlining processes. This technical blog post will explain how to customise the keyboard shortcuts in the Frappe app. You may use your app more effectively, do tasks more quickly, and save time by incorporating customised shortcuts. Let's explore the universe of unique keyboard shortcuts to get a higher degree of efficiency!


Take a look on this video ( Click the link below to watch )

https://www.youtube.com/shorts/sdCKIft3eD0


Adding Custom Keyboard Shortcuts to Your Frappe App :


Identify the Actions:

Determine the actions within your Frappe app that you would like to assign keyboard shortcuts to. This could include frequently performed tasks, navigation to specific sections, or triggering specific functions.


Modify the Key bindings:

Frappe provides a built-in feature to define custom key bindings for your app. You can modify the config/keyboard_shortcuts.js file within your app's directory. Add the desired key combinations along with the corresponding actions or functions.


Assign Key bindings to Functions:

In the custom JavaScript file of your app, define the functions that will be triggered by the keyboard shortcuts. You can access various Frappe APIs and methods to perform the desired actions.


Register the Key bindings:

 Once you have defined the key bindings and associated functions, register them within your Frappe app. This ensures that the shortcuts are active and ready for use.


Conclusion:


Custom keyboard shortcuts offer a significant productivity boost by allowing you to perform actions quickly and efficiently within your Frappe app. By following the steps outlined in this blog post, you can add personalized shortcuts to streamline your workflows and navigate your app with ease. Embrace the power of custom keyboard shortcuts and take control of your Frappe app like never before!





Book a free 30min tailored consultation

Free first 30min of enterprise consultation to manage your business better using digital processes.


Sharvari Rathod

ERP enthusiast. Likes to write blogs that help people adopt technology for their benefit.

No comments yet.

Add a comment
Ctrl+Enter to add comment