Re: Autocopy selected text and auto paste in word
Posted: 24 Feb 2018, 06:20
I think that is not generally true, Nwb. Edit: I just checked: Ctrl+c works in unprotected pfds.
It rather depends on the pdf. Not all pdfs allow copying, afaik. I think, some are "secured" by password.
If you can get the text on the clipboard, it shouldn't be a problem to save the text via an AHK script. But I guess that is the point where the whole thing fails... or are you able to copy the text "manually"?
If the pdf restricts copying, you might have to rely on tools that could touch legal questions, depending on the jurisdiction of your country of residence. Perhaps OCR is a (legal) option, if "removing" a password isn't.
Edit2: I see, at least this problem was resolved for now: https://autohotkey.com/boards/viewtopic ... 20#p202337
It rather depends on the pdf. Not all pdfs allow copying, afaik. I think, some are "secured" by password.
If you can get the text on the clipboard, it shouldn't be a problem to save the text via an AHK script. But I guess that is the point where the whole thing fails... or are you able to copy the text "manually"?
If the pdf restricts copying, you might have to rely on tools that could touch legal questions, depending on the jurisdiction of your country of residence. Perhaps OCR is a (legal) option, if "removing" a password isn't.
Edit2: I see, at least this problem was resolved for now: https://autohotkey.com/boards/viewtopic ... 20#p202337