How to select any text and save that text directly in a .txt file in specified folder(in script like D:/backup/) and file name (filename.txt) should be asked upon pressing keyboard shortcut.
Many ways to go about doing this. The easiest would probably be to send Ctrl + c to store it in the clipboard, then write the clipboard contents to a text file:
Ctrl + Alt + p will trigger this. Let me know how it works I just hacked it together quickly.
|show 4 more comments|