On 28/10/2018 12:17 AM, Musatov wrote:
I am wondering if Python could be used to write a program that allows:
1. Highlight some text
2. Ctl+HOTKEY1 stores the string of text somewhere as COPIEDTEXT1
3. Highlight another string of text
4. Ctl+HOTKEY1 stores another string of text somewhere as COPIEDTEXT2
THEN
5. Ctl+HOTKEY2 pastes COPIEDTEXT1
6. Ctl+HOTKEY2 pastes COPIEDTEXT2
I found "pyperclip" and "Tkinter" but I don't know where to start.
Thanks,
Musatov
You might find the GUI automation tool Skiuli or the newer SikuliX
programs useful. They can be used to script a GUI and perform operations.
http://www.sikuli.org/
If you're on Windows then the COM interface can be useful (if the
program you want to copy from supports it).
Peter
--
https://mail.python.org/mailman/listinfo/python-list