Difference between revisions of "OMR scripting"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'The script process an image with OMR engine from Automation scripting feature, each time new document is uploaded. With minimal changes can be used in conjuntion with crontab. <…')
 
Line 15: Line 15:
  
 
[[File:Okm_user_guide_436.png|center]]
 
[[File:Okm_user_guide_436.png|center]]
 +
 +
The script value is:
 +
 +
[[File:Okm_user_guide_437.png|center]]
  
 
[[Category: Utilities]]
 
[[Category: Utilities]]

Revision as of 20:26, 1 May 2013

The script process an image with OMR engine from Automation scripting feature, each time new document is uploaded. With minimal changes can be used in conjuntion with crontab.

import com.openkm.omr.OMRHelper;

OMRHelper.processAndStoreMetadata(4, uuid);

Example

Create a automation task based on event document creation and post execution.

Okm user guide 435.png

With one validation based on folder path and one scripting action.

Okm user guide 436.png

The script value is:

Okm user guide 437.png