This tool allows you to easily save your coding solutions by copying and pasting them into a designated folder with an intuitive UI.
-
Download AutoHotkey v1
Download and install the latest version of AutoHotkey v1 from their official website:
https://www.autohotkey.com/download/ -
Run the Script
Once installed, run theSaveSolution.ahk
script as an Administrator. -
Enjoy
The tool is now ready to use! Follow the instructions below to organize your coding solutions effortlessly.
-
Copy Your Code
UseCTRL+C
to copy any code snippet you want to save. -
Open the UI
PressSHIFT + CTRL + C
to launch the UI window. -
Add a Problem Name
In the input field, type the problem name or identifier for the code you copied. -
Choose a Folder
Browse and select the folder where you want to save the solution.
If you want to add more solution folders (e.g., for different platforms or categories), you can edit the script to include additional folders. Simply modify the array in the script like this:
subFolders := ["LeetCode", "CodeForces", "CodeWars", "HackerRank", "NeetCode"]
Feel free to add your preferred folder names to the list.
If your solutions are not in C++, you can change the file extension of the created files. Modify the following line in the script:
filePath := FolderPath "\" FileName ".cpp"
Change .cpp
to your preferred extension, such as .js
, .ts
, .py
, etc.