Simple command-line tool that mimics pbpaste in windows.
Installation and Usage
You can install this package using pip:
pip install pbpaste-win
Once installed, you can use it as a command-line tool by running:
pbpaste
This will print the current clipboard contents to the console.
How it works
- The script creates a hidden tkinter window.
- It retrieves the current clipboard contents using
root.clipboard_get()
. - The retrieved text is then printed to the console.