Hi Torsten, ยท On Aug 15 2013, Torsten Wagner <torsten.wag...@gmail.com> wrote:
> [How to fill in a form from org?] I have only one form to fill in, print it, sign it and hand it in. But this one is very boring :-(. The form is available as pdf or dot. Here is how I do it. When I was on Windows I used XL and word with a VBA macro. Now I switched to Linux. I use org and LibreOffice. I have all the information gathered in an org-table. A babel elisp block extracts the information from this table. To fill in the form I use =xte= which is part of the xautomation package [1]. =xte= is a commandline tool which emulates key strokes and sends them to the active window. I open the form (dot) in LibreOffice and execute the babel block. The items to fill in the form are extracted from org-table and sent to =xte= via `call-process-shell-command'. This might not be the best way, but for me it works. I also tried to use the pdf form in the same way. But it did not work well. Neither in Adobe Reader nor in evince. [1] http://sourceforge.net/projects/xautomation/ -- Bis neulich ... Thomas