WindowsOCR.Available
--------------------

Whether OCR is available.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsOCR](component_WindowsOCR.md) | [13.1](newinversion131.md) | ❌ 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

- [Vision.SupportedRecognitionLanguages](VisionSupportedRecognitionLanguages.md)
- [WindowsOCR.AvailableRecognizerLanguages](WindowsOCRAvailableRecognizerLanguages.md)

### Example Databases

- [Win Only/Windows OCR](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Windows%20OCR.shtml#1ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Advent calendar - Door 20 - Scan and Recognize](https://www.mbsplugins.de/archive/2024-12-20/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 5 - WindowsOCR](https://www.mbsplugins.de/archive/2023-12-05/MBS_Plugin_Advent_calendar_5_-/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [OCR on Windows in FileMaker](https://www.mbsplugins.de/archive/2023-02-07/OCR_on_Windows_in_FileMaker/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 2/2023, Seite 27](https://filemaker-magazin.de/neuigkeit/4223-Appetithappen-FMM_202302)

This function is free to use.

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

  
[WindowsML.ReleaseAll](WindowsMLReleaseAll.md) - [WindowsOCR.AvailableRecognizerLanguages](WindowsOCRAvailableRecognizerLanguages.md)

[HTML Version](WindowsOCRAvailable.shtml)