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
#7
Hm! You got me... I do not use Windows at all.

See this On SO. You have to use nested if statement to check for ctrl then alt then 1 key before to proceed with the clipboard and writing its content to a file.

Or you can use a different approach. Write the simple script to get the clipboard contend and add/write it to a file. Just that. And when you need it run it with a key combination by your choice. It will do its job then will exit until the next time you need it.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: Automatically read copied text from keyboard shortcuts - by wavic - Mar-09-2017, 02:14 PM

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