Multicopier is a simple Python script that enables users to copy and paste multiple texts using customizable keyboard shortcuts. This project utilizes the keyboard
and pyperclip
libraries to achieve the desired functionality.
- Customizable Shortcuts: Users can define their own keyboard shortcuts for copying and pasting texts to different slots.
- Multiple Slots: The multicopier supports multiple slots (e.g., Slot 1, Slot 2, ..., Slot 10) for storing and retrieving copied texts.
- Clipboard Interaction: The script interacts with the clipboard using the
pyperclip
library to ensure seamless copying and pasting.
-
Install the required libraries:
pip install -r requirements.txt
-
Run the script:
python main.py
-
Copying Text:
- Press
Ctrl + C + 1
to copy the current text to Slot 1. - Press
Ctrl + C + 2
to copy the current text to Slot 2. - Repeat this process for other slots as needed.
- Press
-
Pasting Text:
- Press
Ctrl + B + 1
to paste the text from Slot 1. - Press
Ctrl + B + 2
to paste the text from Slot 2. - Repeat this process for other slots as needed.
- Press
Users can customize the keyboard shortcuts by modifying the on_key_event
function in the main.py
file. The script is designed to handle up to 10 slots, and additional slots can be added as required.
keyboard
pyperclip
Install the required libraries using the provided requirements.txt
file:
pip install -r requirements.txt
- Ensure that the script is run in an environment where the
keyboard
library can interact with the keyboard events.