This project is a global key listener that allows you to map specific keys to create files with unique contents. It provides a simple way to listen for key presses and generate files based on the pressed keys.
- .NET 8.0 or higher
- Clone the repository or download the source code.
- Open the solution in Visual Studio.
- Build the solution to restore NuGet packages.
- Run the application.
-
Set the path to the folder that will hold your files in the
Program.cs
file: -
Define the button-to-file mapping in the
GetButtonToFileMap
method in theProgram.cs
file: This mapping determines which keys will trigger the creation of specific files. -
Run the application. It will start listening for key presses.
-
Press the mapped keys to create files with unique contents.
- You can modify the file save path and the button-to-file mapping to suit your needs.
- Additional customization options can be explored by modifying the code in the respective files.
This project is licensed under the MIT License.