Applies to

System

Description

Value is an @FM-delimited array:

ValueDescription
IdleProcStructure<1>Procedure Name.
IdleProcStructure<2>(optional) Parameter.
IdleProcStructure<3>(optional) Time of activating (hh:mm:ss), defaults to as soon as OpenEngine is idle.
IdleProcStructure<4>(optional) Day of activating (mm/dd/yy), defaults to today.

Remarks

An exclamation point in front of procedure name allows you to start external Windows applications (rather than stored procedures).

As soon as the indicated procedure is being activated Presentation Server resets the IDLEPROC property to null.

To run OpenInsight tools from BASIC+, you cannot use Utility("RUNWIN") since the engine is busy executing your BASIC+ script and will not respond to the tool as it opens. In order to run a tool when the engine is not busy, use the IDLEPROC property. The following code runs the Database Manager communicating with an OpenEngine instance called VEGAS:

Cmd = "!LB.EXE /AP=": @appid<1>: " /UN=": @username  :" /SN= " : "VEGAS"
Call Set_Property("SYSTEM", "IDLEPROC", Cmd)

Restriction

Len(IdleProcStructure) <= 60

See also

TIMER eventTIMER property

  • No labels

1 Comment

  1. Best practice is to enter the Procedure Name in all caps. Otherwise, if a dialog box is running when IDLEPROC is called, a SYS1000 error will result as it attempts to call the procedure in its mixed case name.