Edit pdf document

Discussions related to Visual Prolog
User avatar
Gukalov
Active Member
Posts: 26
Joined: 5 Oct 2011 15:16

Edit pdf document

Unread post by Gukalov » 26 Jul 2018 12:16

Hi)))
How to add simple text label to pdf document?

Harrison Pratt
VIP Member
Posts: 287
Joined: 5 Nov 2000 0:01

Re: Edit pdf document

Unread post by Harrison Pratt » 26 Jul 2018 12:57

Do you mean add text from a VIP application?

There are online PDF editors, like this: https://www.pdfescape.com/windows/

User avatar
Gukalov
Active Member
Posts: 26
Joined: 5 Oct 2011 15:16

Re: Edit pdf document

Unread post by Gukalov » 26 Jul 2018 13:11

Harrison Pratt wrote:
26 Jul 2018 12:57
Do you mean add text from a VIP application?
- Yes, exactly. It need to sign a lot of scans, and I'm too lazy to do it manually)))

Harrison Pratt
VIP Member
Posts: 287
Joined: 5 Nov 2000 0:01

Re: Edit pdf document

Unread post by Harrison Pratt » 28 Jul 2018 1:28

This looks like good documentation on PDF structure ... have fun! :wink:

http://www.planetpdf.com/developer/arti ... uct&page=0

If I were forced into doing what you describe with a time deadline I might consider a scripting engine and a PDF editor if I had a fixed set of PDF files to annotate. If the PDFs continue to accumulate then it might be worth the effort to code in VP.

User avatar
Tonton Luc
VIP Member
Posts: 808
Joined: 16 Oct 2001 23:01

Re: Edit pdf document

Unread post by Tonton Luc » 5 Mar 2019 13:44

Hi,

:idea: You can create your own robot using :

Code: Select all

_ = gui_native::setcursorpos(X,Y),
and

Code: Select all

gui_native::keybd_event(gui_native::vk_down,0,0,0), gui_native::keybd_event(gui_native::vk_down,0,gui_native::keyeventf_keyup,0),
and

Code: Select all

gui_native::keybd_event(gui_native::vk_return,0,0,0), gui_native::keybd_event(gui_native::vk_return,0,gui_native::keyeventf_keyup,0),
:wink:

Harrison Pratt
VIP Member
Posts: 287
Joined: 5 Nov 2000 0:01

Re: Edit pdf document

Unread post by Harrison Pratt » 5 Mar 2019 15:43

Thanks, Tonton -- you made me start thinking of things to do that I hadn't planned to think about! :D

Post Reply