Nuance omnipage pro 7 for macintosh User Manual

Page of 140
Apple Event Support
Technical Information - 135
If this call returns N$(-RE$GGHG7R4XHXH, that means a document is 
open in OmniPage Pro and the job cannot start until the document is 
closed. 
get status
Event Class
‘RFU’
Event ID
‘JHWs’
Returns:
descriptor type:
long
data:
N$(-RE,Q3URJUHVV 
if OmniPage Pro is currently
working on a job or document
(loading, zoning, or
recognizing)
N$(-RE,V2SHQ 
if a document or job is open and 
OmniPage Pro is waiting for 
input from the user
N$(6XFFHVV 
if there is no job or document 
open
Get status  returns the current status of OmniPage Pro. If you just added 
a job to the queue and the return value indicated that OmniPage Pro 
immediately started handling it, you can use this call to check on the 
status of your job. The status will be N$(-RE,Q3URJUHVV until the job 
is finished; then it will be N$(6XFFHVV.
Return Values
There are seven possible return values from the Apple Event calls:
‡ GHILQHN$(6XFFHVV
‡ GHILQHN$(-RE,Q3URJUHVV
‡ GHILQHN$(-RE,V2SHQ
‡ GHILQHN$(,QYDOLG)LOH1DPH
‡ GHILQHN$(,QYDOLG2XWSXW7\SH
‡ GHILQHN$(-RE$GGHG7R4XHXH
‡ GHILQHN$(-RE4XHXH,V)XOO