Undercover Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Image/Pixel-Color Operations > Undercover and Graphics >

Undercover Operations

UCV.desktop bw - greyscaled desktop cover

Previous Top Next


MiniRobotLanguage (MRL)

 

UCV.desktop bw

UCV.dbw

Create a greyscaled desktop cover (fade to grey)

 

 

Intention

 

This command is used to prevent the user from seeing what happens on the screen. You can use it to protect serial numbers or other confidential information during automated setup processes. As the Cover is grayscaled, the user will be aware that something happens.

 

To achieve this goal, Smart Package Robot  will

- create a "Cover"-Form that will be placed above all other Forms*.

- copy a desktop screenshot onto that form

- that form will prevent the user from being able to see or click anything that is

  below that form.*

- you can still use the Direct Engine to work with Setup-Programs.

- the Compatible Engine will not work if a Cover shields the desktop.

- Smart Package Robot  will slowly fade the cover colors to grey, depending on the use of the

  blending commands (nb,nbi,nbo)

 

For the user this will happen completely transparent, he can not see what happens below the cover.

 

The greyscaled "desktop-picture cover" is shown with the simple line:

 

UCV.dbw

PAU.10

 

' This line will remove the cover

UCV.

 

If you do not want to use the "fade to grey" effect, use this script:

 

UCV.nb

UCV.dbw

PAU.3

' This line will remove the cover

PAU.5

UCV.

ENR.

 

Using the "write" command, you can write a text at any place into the desktop-cover. You can also change/choose the font for this text using the "set font" command.

 

UCV.set font|futura t|100|||0

UCV.write|Hallo world!|10,200

 

You can also use the "print" command while this makes less sense, because the print command has a fixed background.

 

Any cover is been removed immediately, when the script-process ends or when the script runs into an error.

 

The desktop-cover behavior can be changed/customized using the additional features:

 

UCV.transparency

UCV.no transparency

UCV.no blend

UCV.no blend-in

UCV.no blend-out

UCV.write

' this line will remove the cover

UCV.close

 

You can make the desktop-cover half transparent, by prefixing the script with:

 

UCV.tra

UCV.dc

PAU.10

 

' This line will remove the cover

UCV.

 

 

* PopUp-Menus and other TopMost Forms may be able to get temporarily in front of the Cover-form. This is due to windows-technical reasons and not a bug.

 

 

 

Syntax

 

 

UCV.desktop bw

UCV.dbw

 

 

Parameter Explanation

 

-

 

 

 

 

 

Example

 

'***********************************

' UCV.-Sample

' In this Mode, the cover will fade in slowly

' which is invisible if no on going

' changes on the desktop happen.

'***********************************

' Switch cover on

UCV.dbw

PAU.20

UCV.

ENR.

 

'***********************************

' UCV.-Sample 2

' In this Mode, the cover will appear immediately.

'

'***********************************

' prevent fade-in

UCV.no blend-in

' Switch cover on

UCV.dbw

PAU.20

UCV.

ENR.

 

 

'***********************************

' UCV.-Sample 3

' In this Mode, the cover will appear

' and then be faded to transparent.

'

'***********************************

'

UCV.dbw

UCV.tra

PAU.10

 

' This line will remove the cover

UCV.

 

'***********************************

' UCV.-Sample 4

' Write a text into the cover'

'***********************************

'

UCV.nb

UCV.dbw

UCV.set font|futura t|100|||0

UCV.write|Hallo world!|10,200

PAU.3

' This line will remove the cover

PAU.5

UCV.

ENR.

 

 

 

 

Remarks

 

-

 

 

 

Limitations:

 

PopUp-Menus and other TopMost Forms may be able to get temporarily in front of the Cover-form. This is due to windows-technical reasons and not a bug.

 

 

 

See also:

 

  ! Smart Package Robot 's Undercover Operations

  ! UCV. - Undercover Graphics

  CCV. - Color Conversion