NumCuts is a C++ based tool that allows you to set up custom shortcut keys that you can press along with Num Lock/Caps Lock to run anything on your PC or the web. It incorporates a full HTML/CSS based UI made using NodeJS and Electron Framework.
Contains the back-end code constructed in C++ and Batch. It is responsible for self-installation to C:\ScrRunner (modifiable) and Startup, and executing the Scripts and GUI based on shortcuts.
Contains the front-end GUI interface made through HTML, CSS and JavaScript, built into an app using Nodejs and the Electron framework.
- Grab the latest version from the Releases page.
- Download and extract all the contents of the compressed Release file into the same folder and run NumCuts.exe.
- Choose whether you'd like to hold
Num-Lock
orCaps-Lock
to run the Shortcuts. - Once it's done installing and NumCutsGUI runs, add your own Shorctcuts and close the GUI. You may remove the extracted files then, if you wish.
- Run your assigned shortcuts with
Num-Lock + (the assigned key)
orCaps Lock + (the assigned key)
if so set. - If needed, open the GUI again to reconfigure shorcuts, using
Num-Lock + 0
orCaps Lock + 0
if so set.
-
If not already open, open NumCuts-GUI using
Num-Lock + 0
orCaps-Lock + 0
, as chosen during installation. -
Head to
New Shortcuts
Section and assign your own Shortcut key with the location of the file or a multi-line script. -
Click on
Add this new Shortcut
Button. -
In case of multi-line script, give it a name(and extension).
-
In case of multi-line script, you may also specify what program to execute the script with.
Example: python for .py scripts, node for NodeJS scripts, etc.
-
Once the script/file location/website URL has been saved, run it with your assigned key while holding
Num-Lock
orCaps-Lock
, as chosen during installation. -
Scroll down to
Your Shortcuts
Section to view your assigned Shortcuts and corresponding Scripts in tabular form. -
Remove any scripts, if needed, by clicking
Remove this Shortcut
button after specifying Shortcut number. Or clear all assigned shortcuts by clicking on theClear all existing Shortcuts
button. -
Close the GUI. Execute your scripts anytime your machine is on, by pressing corresponding shortcut keys.
-
If needed, open the GUI again to reconfigure shorcuts, using
Num-Lock + 0
orCaps Lock + 0
as set.
- Modify the Source codes in either branch as needed.
- Compile the Source code of Master(C++), and package Master-GUI(Nodejs Electron).
- The Release can only be executed on the specific OS and architecture it's been built for.
- Rename the output GUI executable in the folder obtained after packaging the source code in Master-GUI branch, to NumCutsGUI.exe.
- Place the compiled output of the source code of Master, and the packaged output folder of Master-GUI, in the same folder.
- Rename the packaged output folder of Master-GUI, to "NumCuts-GUI". This folder must have a file called NumCutsGUI.exe. If it doesn't, take necessary action.
- Move Reload.bat and move_to_startup.bat from Master-GUI branch to "Numcuts-GUI" folder.
- Execute NumCuts.exe to set everything up. The original files can then be deleted.
- Electron Framework v8.2.3
- Nodejs v13.13.0 and it's depenencies, (mostly 'fs')
- HTML5
- CSS
- JavaScript
- Bootstrap
- Based on Agency, a free Bootstrap Template
- Adobe DreamWeaver
- C++14
- [Basic Windows Shell Script]
- MingW-w64 Toolchain(for compiling and making the cpp)
- Jetbrains products: CLion, WebStorm
- NumCuts has been programmed to automatically move to Windows Startup, so it can launch automatically every time the PC starts.
- The console also hides itself after installation. No Window is visible at all, thereby other operations are not disturbed.
- Being built around Batch commands, it will only work on Windows. Feel free to make your own versions for other systems.