jaredks / rumps

Ridiculously Uncomplicated macOS Python Statusbar apps
BSD 3-Clause "New" or "Revised" License
3.09k stars 179 forks source link

Option to paste text #141

Open RaviTezu opened 4 years ago

RaviTezu commented 4 years ago

Hi, Is it possible to paste some text when user clicks on some menu item? For example, I have a "Paste my email address" menu item and clicking on it should paste the email address(already taken as an input) to wherever the cursor is or to any prompts from other apps.

bc commented 3 years ago

i'd also love this feature! otherwise my users have to paste in a long string

brunns commented 1 year ago

Putting your email address into the clipboard is pretty easy - see https://stackoverflow.com/questions/1825692/can-python-send-text-to-the-mac-clipboard for some ways to do that - but Rumps isn't controlling the target application, so your users will need to hit Command-v themselves.