Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WindowsOCR.Available

Whether OCR is available.

Component Version macOS Windows Linux Server iOS SDK
WindowsOCR 13.1 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WindowsOCR.Available" )

Parameters

none

Result

Returns 0, 1 or error.

Description

Whether OCR is available.
Returns 0 on Windows 8.x.
Reports 1 on Windows 10240 or later.

Examples

Check availability:

Set Variable [ $r ; Value: MBS( "WindowsOCR.Available" ) ]
If [ $r = 1 ]
    Show Custom Dialog [ "Windows OCR" ; "Available" ]
Else If [ $r = 0 ]
    Show Custom Dialog [ "Windows OCR" ; "Not available" ]
Else
    Show Custom Dialog [ "Windows OCR" ; $r ]
End If

See also

Example Databases

Blog Entries

This function is free to use.

Created 22nd January 2023, last changed 22nd January 2023


WindowsML.ReleaseAll - WindowsOCR.AvailableRecognizerLanguages