Jump to content

Recommended Posts

Posted

Hello,

Please help me how to add dynamic parameter to runwait command.  i got it work for static value that is.. crop_image

however how do i pass  dynamic value

RunWait("D\tesseract-4.0.0-alpha\tesseract.exe  crop_image.bmp > v.txt","",@SW_HIDE)

 

RunWait("D\tesseract-4.0.0-alpha\tesseract.exe  " -folderList[$i] >"v.txt","",@SW_HIDE)

 

 

Posted

Thanks the reply  VIP:)

  I got it work:)

 

Local $TesSeract_eXeCute = 'tesseract-4.0.0-alpha\tesseract'
   $crop_image="cropped_image\" & $folderList[$i]
   $shell = $TesSeract_eXeCute & " " & $crop_image & " D:\Template_Match\Bomb\xpdf\v"
   ConsoleWrite($shell & @CRLF)
    RunWait($shell)

 

Happy Learning!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...