Script to import PDF as image with OCR

I want to do with a script exactly what I do manually with DT pro office.

I have many PDF documents in a folder. My scanner put in this folder many files PDF image, without any text. So I import them manually <import/files/Images with OCR>.
If I want to import theese files as simple images I have no problem, using a script as folder action (like the exemple script Action import).

But I am not able to import them by script using OCR. I do’nt find in the dictionnary any command to do this.

Did somebody already succeed to do this ?

Other small problem. How is it possible to extract by script the name of the group of a file.

Thank you.

OCR is not yet scriptable.