PDC. - Private Desktop Commands

<< Click to Display Table of Contents >>

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

PDC. - Private Desktop Commands

PDC.Goto Default

Previous Top Next


MiniRobotLanguage (MRL)

 

 

PDC.Goto Default

Used to switch View from a private Desktop (Hidden Desktop) to the Default Desktop

 

 

Intention

 

This Command is similar to PDC.Switch to Desktop, just that the Destination of the Switch is fixed, and is the "Default Desktop". This is the Original Desktop that was created by the OS on Startup.

 

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

 

PDC.Create Desktop with Explorer|DTA

PDC.Switch to Desktop|DTA

PAU.3

PDC.Goto Default

ENR.

 

 

Important:

 
You can switch to the "Default Desktop" using this command, even when the Script was run on another PD.

However all commands that the Script executes will always be executed on the desktop where the Script was originally started.

Switching the "View" does not make the Script to do things on another Desktop.

To do this you need to run a Script on that other Desktop.

You can do this for example using '#HID: or using the new enhanced PRR./PRE.-command.

 

Syntax:

 

PDC.Goto Default

PDC.GD

 

 

Parameter Explanation:

 
-

 

Example:

 

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

PDC.Create Desktop with Explorer|DTA

PDC.Switch to Desktop|DTA

PAU.3

PDC.Goto Default

ENR. 

 

 

 

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 no Explorer

  PDC.Create Desktop with Explorer

  PDC.Get current Desktop Name

  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