Re: [Pharo-users] Execute Tet pdflib

2016-12-06 Thread pauguillot
Ok, that's the best that i can do. -Pau |bin pdf pdfAsText result| bin := '"C:\Program Files\PDFlib\TET 5.0 64-bit\bin\tet.exe"'. pdf := '"C:\*\document.pdf"'. pdfAsText := 'C:\*\document.txt' asFileReference. OS2Process command: bin, ' --samedir ', pdf. [ pdfAsText exists ] whileFalse: [

Re: [Pharo-users] Execute Tet pdflib

2016-12-06 Thread pauguillot
Works fine but it's a Delay fixed it's not a delay adapted. I wan't to wait until we have the pdfAsText document disponible to read contents. Not wait some constant time Tank you -Pau A 2016-12-06 00:43, Ben Coman escrigué: On Tue, Dec 6, 2016 at 4:28 AM, wrote:

Re: [Pharo-users] Execute Tet pdflib

2016-12-05 Thread Ben Coman
On Tue, Dec 6, 2016 at 4:28 AM, wrote: > Hello, > > 1- I need help to extract a selected text from a pdf document. > Tet pdflib can do that and i need help to execute command line using Pharo. > I am able to do the work using a bat file but i think we can do better.

[Pharo-users] Execute Tet pdflib

2016-12-05 Thread pauguillot
Hello, 1- I need help to extract a selected text from a pdf document. Tet pdflib can do that and i need help to execute command line using Pharo. I am able to do the work using a bat file but i think we can do better. 2- How we can code properly the delay (when we wait the Bat file) Thank