.. highlightlang:: us .. index:: AppRunAutomated .. _apprunautomated: AppRunAutomated ==================== .. us.tag AppRunAutomated ENGLISH App New5513 :ref:`AppRunAutomated` checks if Uniplot was invoked as a COM-Server. .. function:: bool = AppRunAutomated() .. us.return **Return Value** If UniPlot was started with the parameter ``-Embedding`` or ``-Automation`` the function returns TRUE (1) and otherwise FALSE (0). .. us.example **Example** :: 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" .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2913.13 (5.51.3) - New. .. seealso:: :ref:`overview-application-object`, :ref:`AppGetCommandLine` :sub:`id-394362`