PDC. - Private Desktop Commands

<< Click to Display Table of Contents >>

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

PDC. - Private Desktop Commands

PDC.Create Desktop no Explorer

Previous Top Next


MiniRobotLanguage (MRL)

 

 

PDC.Create Desktop no Explorer

Used to create a private Desktop (Hidden Desktop)

 

 

Intention

 

This Command will create e a new "private Desktop" (PD) without running the windows Explorer on this new desktop.

It only makes sense, to start a Program on that PD, immediately after its creation.

.

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

Here is a Sample-Script.

 

 

VAR.$$PRO=?progs\Smart Package Robot\Desktops_Manager.exe

PDC.Create Desktop no Explorer|DTA

PDC.Run on Desktop WFI|DTA|$$PRO

PDC.Switch to Desktop|DTA

PAU.5

PDC.Goto Default

PDC.Close Desktop|DTA

MBX.!

ENR.

 

The result will be visible in the SPR-Editor's "Desktop Inspector".

 

PDC_22

 

 

Important:

 
PD's that are created without an "Explorer" may automatically close after the Script (and otehr Tasks running there) have ended!

Therefore they will only be visible as long as the Script is running.

 

 

Syntax:

 

PDC.Create Desktop no Explorer|P1

PDC.CDN|P1

 

 

Parameter Explanation:

 
P1 - The name of the new private Desktop.  

 

 

Example:

 

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

'

VAR.$$PRO=?progs\Smart Package Robot\Desktops_Manager.exe

PDC.Create Desktop no Explorer|DTA

PDC.Run on Desktop WFI|DTA|$$PRO

PDC.Switch to Desktop|DTA

PAU.5

PDC.Goto Default

PDC.Close Desktop|DTA

MBX.!

END.

 

 

Remarks:

 

This feature is currently experimental, therefore not all features of the SPR and the SPR-Editor may work as expected on private Desktops. To create a private Desktop, the Executable needs Admin-Rights.

 

 

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

  IPD./NPD. - If/Not Private Desktop

  PDC.Close Desktop

  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