Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/30/2024 in all areas

  1. Hello guys. I just did another OCR wrapper for this nice library. What's AU3-RapidOCR? RapidOCR UDF is a simple wrapper for RapidOCR library. Features. Get Text From Image File. Easy to use. Usage: #include "RapidOCR.au3" _Example() Func _Example() MsgBox(0, "", _RapidOCR_ImageToText(@ScriptDir & "\images\Image1.png")) EndFunc Check RapidOCR UDF on GitHub. Saludos
    3 points
  2. I suppose it is the progress bar that he finds too small. One solution is to create a custom GUI progress bar with the desired size, but why reinvent the wheel. Just adjust the size of each component : #include <WinAPISysWin.au3> #include <String.au3> #include <WinAPIGdi.au3> #include <FontConstants.au3> ProgressOn("Test", "Main text", "Sub Text") Local $hWnd = WinGetHandle("Test") WinMove($hWnd, "", 200, 200, 600, 250) Local $hText1 = ControlGetHandle($hWnd, "", "Static1") Local $hProgress = ControlGetHandle($hWnd, "", "msctls_progress321") Local $hText2 = ControlGetHandle($hWnd, "", "Static2") Local $aPos = ControlGetPos($hWnd, "", $hText1) _WinAPI_MoveWindow($hText1, $aPos[0], $aPos[1], $aPos[2] * 2, $aPos[3] * 2) Local $hFont1 = _WinAPI_CreateFont(50, 0, 0, 0, 400, False, False, False, $DEFAULT_CHARSET, _ $OUT_DEFAULT_PRECIS, $CLIP_DEFAULT_PRECIS, $DEFAULT_QUALITY, 0, 'Arial') _WinAPI_SetFont($hText1, $hFont1) $aPos = ControlGetPos($hWnd, "", $hProgress) _WinAPI_MoveWindow($hProgress, $aPos[0], $aPos[1] + 50, $aPos[2] * 2, $aPos[3] * 2) $aPos = ControlGetPos($hWnd, "", $hText2) _WinAPI_MoveWindow($hText2, $aPos[0], $aPos[1] + 85, $aPos[2] * 2, $aPos[3] * 2) Local $hFont2 = _WinAPI_CreateFont(40, 0, 0, 0, 400, False, False, False, $DEFAULT_CHARSET, _ $OUT_DEFAULT_PRECIS, $CLIP_DEFAULT_PRECIS, $DEFAULT_QUALITY, 0, 'Arial') _WinAPI_SetFont($hText2, $hFont2) For $i = 10 To 100 Step 10 Sleep(500) ProgressSet($i, $i & "%") Next ProgressSet(100, "Done", "Complete") Sleep(2000) _WinAPI_DeleteObject($hFont1) _WinAPI_DeleteObject($hFont2) ProgressOff() If it is the MsgBox that is too small, you can pretty much do the same, but you will need to hook the MsgBox to a CBT proc. In any case, I felt it is a good example of how to reuse an existing function without creating it from scratch...
    2 points
  3. It is just a variable name like any other. Minimalist I agree, but still a valid variable name...
    1 point
  4. [NEW VERSION] - 26 Feb 24 Added: A column re-order event is now indicated by _EventMonitor setting @extended to 6. Changed: Event 4 (drag/drop) now returns a 4 element array [from index, to index, dragged row, inserted row] Parameters for editing with combos have been altered/expanded Fixed: ListViews with custom function on editing (Mode 9) will now save correctly - although the function must be reassigned after reloading. Colours work when using _InsertSpec functions. Checkboxes and selected rows play nicely together. Thanks to those who pointed out the bugs and asked for new functionalities. New UDF in the first post. M23
    1 point
  5. Hello, This is my first post here although I've been using Autoit for around 5 years. Several years ago I started looking for a template to make Invoicing software in Autoit. For PDF generation I ran across MIPDF by Mihai Iancu and it works great. So I am including that along with the Invoice template that I created. I hope you all enjoy it and take it further than me and make a full featured personal financial manager in Autoit! Autoit Invoicing.zip
    1 point
×
×
  • Create New...