Python Forum
Automatically read copied text from keyboard shortcuts
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatically read copied text from keyboard shortcuts
#6
Hi wavic,

I installed pyperclip and am able to read the clipboard contents to my script and print it. Also i have integrated the other part to write it to file. But some how am not able to integrate these. I mean to say

Now after i get the clipboard contents, the python script should be running in background to read keyboard events such as CTRL+ALT+1. Now when it detects this key combination is pressed it has to further proceed to paste those contents to a file. How do i do that? Am unable to install Tkinter module. Also i tried to work with msvrt module but somehow unable to achieve that. Can you give your suggestions?

Thanks and Regards,
Narendra
Reply


Messages In This Thread
RE: Automatically read copied text from keyboard shortcuts - by Ambidexter2017 - Mar-09-2017, 11:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Read text file, modify it then write back Pavel_47 5 1,739 Feb-18-2023, 02:49 PM
Last Post: deanhystad
  Attempting to read keyboard outside of console Jimmy998 5 1,436 Nov-25-2022, 08:17 PM
Last Post: Larz60+
  Need help with infinite loop & making hotkeys/shortcuts Graxum 1 1,248 Aug-22-2022, 02:57 AM
Last Post: deanhystad
  read a text file, find all integers, append to list oldtrafford 12 3,837 Aug-11-2022, 08:23 AM
Last Post: Pedroski55
  Creating Shortcuts with python Oshadha 2 2,004 Jun-23-2022, 08:07 AM
Last Post: Oshadha
  Not able to read the text using pexpect/expect Bipinjohnson 7 4,192 Jan-10-2022, 11:21 AM
Last Post: Bipinjohnson
  [SOLVED] Read text file from some point till EOF? Winfried 1 2,028 Oct-10-2021, 10:29 PM
Last Post: Winfried
  Why changing data in a copied list changes the original list? plumberpy 3 2,291 Aug-14-2021, 02:26 AM
Last Post: plumberpy
  Open and read multiple text files and match words kozaizsvemira 3 6,837 Jul-07-2021, 11:27 AM
Last Post: Larz60+
  read terminal text from running program AArdvark_UK 2 1,938 Aug-27-2020, 12:43 PM
Last Post: AArdvark_UK

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020