AppRunAutomated

AppRunAutomated prüft, ob UniPlot als COM-Server aufgerufen wurde.

bool = AppRunAutomated()

Returnwert

Falls beim Aufruf von UniPlot die Parameter -Embedding oder -Automation angegeben wurden, liefert die Funktion TRUE (1), sonst FALSE (0).

Beispiel

REM test.vbs

Dim app
REM Start UniPlot
set app = CreateObject("UniPlot.Application")

REM In UniPlot AppRunAutomated() return TRUE (1).
MsgBox "AppRunAutomated() = " & app.call("AppRunAutomated"), 0,"VBS"

History

Version Beschreibung
R2013.13 (5.51.3) Neu.

id-394362