<< Click to Display Table of Contents >> Navigation: 3. Script Language > PDC. - Private Desktop Commands > PDC. - Private Desktop Commands |
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:
• 2.1.5 '#HID: - Hidden Desktop Scripts
• ICD./NCD. - If/Not Current Desktop
• PDC.Create Desktop no Explorer
• PDC.Create Desktop with Explorer
• PDC.Get current Desktop Name
• 2.1.4 '#EXV: - Execute on System Desktop
• HDC. - Hidden Desktop Control
• #ONCE / # OEND - Multiple Include Protection
• 2.1.8 '#INC: - Include Files and Folders into the Executable