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

Edit pdf document

Unread post by Gukalov »

Hi)))
How to add simple text label to pdf document?
Harrison Pratt
VIP Member
Posts: 432
Joined: 5 Nov 2000 0:01

Re: Edit pdf document

Unread post by Harrison Pratt »

Do you mean add text from a VIP application?

There are online PDF editors, like this: https://www.pdfescape.com/windows/
User avatar
Gukalov
VIP Member
Posts: 62
Joined: 5 Oct 2011 15:16

Re: Edit pdf document

Unread post by Gukalov »

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: 432
Joined: 5 Nov 2000 0:01

Re: Edit pdf document

Unread post by Harrison Pratt »

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: 204
Joined: 16 Oct 2001 23:01

Re: Edit pdf document

Unread post by Tonton Luc »

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: 432
Joined: 5 Nov 2000 0:01

Re: Edit pdf document

Unread post by Harrison Pratt »

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