MenuClip is the first script that I've posted to the forum. It's basically a super minimal version of Ditto; I made this to help me get acquainted with writing large scripts in Autohotkey.
Features:
- Stores text clips into memory (doesn't support images or files)
- Displays stored clips in a context menu via Ctrl+Shift+V
- Stores 100 clips by default. (Afterwards, it will delete the oldest one and insert the newest clip at the top)
- Has configurable options (eg shortcut, number of clips to store, gui size)
- Can specify editors that use Shift+Insert for pasting instead of Ctrl+V
- Has a dark theme option (based on IntelliJ dark theme; can be automatically swapped in at a specified time)
- Saves clips to file so that they are restored when the script is restarted
- Has a search box to filter clips list
![Image](https://github.com/takanuva15/MenuClip/raw/master/resources/menuclip_demo_final.gif)
Dark theme:
![Image](https://github.com/takanuva15/MenuClip/raw/master/resources/menuclip_demo_dark_theme.jpg)
The script is in maintenance so I'm not adding new features (just use Ditto for a professional clipboard manager), but I will fix critical bugs if you find them (please post an issue on the GitHub repo).
Obviously there will be bugs, and I know there is some incorrect code floating around in the GUI-related classes, so this script is mostly a primer to help out other people getting started with Autohotkey. (With that being said, I do use the script in my work just for the sake of the fact that I wrote it)
PS. I did my best to use object-oriented design in the structure of the classes.
Links:
- MenuClip source code on GitHub
- Story backlog [trello.com/b/wD95pQRR/menuclip-kanban-board]
- UML (may be out-of-date) [lucidchart.com/documents/edit/8b32b807-f1e5-4cb6-afa5-1380075d861b/0_0?beaconFlowId=FC88485F5AAE657C]