Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  


Checks if OCR library has been initialized.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
OCR 4.2 Yes Yes Yes Yes Yes

MBS( "OCR.IsInitialized" )




Returns 1 or 0.


Checks if OCR library has been initialized.
If value is 1, everything is okay.
If value is zero, the library is not initialized and you need to call OCR.Initialize function.
On a hosted database this function is better than using a global variable, as the variable can't see if initialization was made on server or client side.


Initialize on demand:

If [MBS("OCR.IsInitialized") ≠ 1]
    Set Variable [$r; Value:MBS( "OCR.Initialize"; "/Library/FileMaker Server/"; "eng")]
End If

See also

OCR.Initialize   -   OCR.Language

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos