PDC. - Private Desktop Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > PDC. - Private Desktop Commands >

PDC. - Private Desktop Commands

IPD./NPD. - If/Not Private Desktop

Previous Top Next


MiniRobotLanguage (MRL)

 

IPD./NPD. - If/Not Private Desktop

Used to verify if a private Desktop exist or not

 

 

Intention

 

This Command will find out, if a "private Desktop" (PD) exists or not.

For more Details on "Private Desktops" (PD) see here: PDC - General Information.

 

 

To check if the PD "MyPD" exists, you can simply type:

 

$$DSK=MyPD
   IPD.$$DSK

  MBX.$$DSK exists.

ELS.

  MBX.$$DSK not exists.

EIF.

ENR.

 

 

 

Syntax:

 

IPD.[P1]

NPD.[P1]

 

 

Parameter Explanation:

 
P1 - (in) The name of the private Desktop. If omitted, the name "Default" is taken.        

 

 

Example:

 

'===========================================================

' This Script will verify if a specified Private Desktop

' exists or not

'

VAR.$$DSK=DTX

GSB.Test

PDC.Create Desktop no Explorer|$$DSK

GSB.Test

ENR.

'------------------------------------------

:Test

IPD.$$DSK

 MBX.$$DSK exists.

ELS.

 MBX.$$DSK not exists.

EIF.

RET.

ENR.

 

 

Remarks:

-.

 

Limitations:

 

    This Feature may require Windows Vista or higher.

 

 

See also:

 

    PRR. - Parallel-Robot-Run

    2.1.5 '#HID: - Hidden Desktop Scripts

    PDC-General

  ICD./NCD. - If/Not Current Desktop

  PDC.Close Desktop

  PDC.Create Desktop no Explorer

  PDC.Create Desktop with Explorer

  PDC.Get current Desktop Name

  PDC.Goto Default

  PDC.Run on Desktop WFI/WFO

  PDC.Set User / Reset User

  PDC.Switch to Desktop

    EXV. - Execute via System

    2.1.4 '#EXV: - Execute on System Desktop

    HDC. - Hidden Desktop Control

    '#RAU: Run as User    

    #ONCE / # OEND - Multiple Include Protection

    2.1.8 '#INC: - Include Files and Folders into the Executable