Search found 4 matches

by huismu5
06 Jan 2016, 23:49
Forum: Ask For Help
Topic: Retrieve filename and pagenumber from PDF
Replies: 9
Views: 2643

Re: Retrieve filename and pagenumber from PDF

OK, I've put together the following code: I make a selection of text in Acrobat Reader DC and then press F12. I then go to Notepad or MS Word and paste with ctrl-V. F12:: clipboard = ; clear the clipboard send ^C ClipWait Content := Clipboard WinGetText, AllText, ahk_class AcrobatSDIWindow WinGetTit...
by huismu5
29 Dec 2015, 10:36
Forum: Ask For Help
Topic: Retrieve filename and pagenumber from PDF
Replies: 9
Views: 2643

Re: Retrieve filename and pagenumber from PDF

Thanks for the suggestions, I'll try both of them. May be premature to ask as ihave not tested the code yet, but for my understanding: the first option looks at the window title, the second one does some com magic. Both retrieve the page number in the same way, but why do you add 1 to the page numbe...
by huismu5
28 Dec 2015, 03:56
Forum: Ask For Help
Topic: Retrieve filename and pagenumber from PDF
Replies: 9
Views: 2643

Re: Retrieve filename and pagenumber from PDF

Thanks for the quick reply Peter, PDF-Xchange Editor looks interesting, I'll have a closer look. Unfortunately, I'm illiterate in all programming languages except AHK and VBA.
by huismu5
28 Dec 2015, 03:32
Forum: Ask For Help
Topic: Retrieve filename and pagenumber from PDF
Replies: 9
Views: 2643

Retrieve filename and pagenumber from PDF

I searched the forum, but could not find anything about this. I'm building a text summerizer tool. The idea is that you select a paragraph of text from a PDF file and then click on a button in a GUI. This will then copy the selected text and paste it into a txt document (sofar-so-good). The issue is...

Go to advanced search