Smart Package Robot 's "Script to Executable" Compiler

<< Click to Display Table of Contents >>

Navigation:  2. Components > 2. EXE-Compiler >

Smart Package Robot 's "Script to Executable" Compiler

Use Icon from internal "Icon-Set"    

Previous Top Next


Compiler-Directives

 

'#ICS:

There is a bunch of Icons already available inside the SPR. You can choose one of these Icons using the '#ICS:-Direktive.

 

 

Intention

 

All Commands starting with a "'#" Sequence are Compiler Directives. They are executed at the time of compilation. That is when you create an executable out of your script-file.

 

You can specify an Folder with a Set of Icons. If any of these Icons is not specified the default Icon is used instead.

 

'#ICS: enables you to specify an Folder with a set of Icons.

One of these Icons is automatically chosen, if you compile an Executable.

The type of specified "Manifest" decides also which of these Icon is been chosen.

 

The Icons in this folder must be named like this:

 

 "ST.ico" - This is the Standard Icon,
            its used if no Manifest is specified

 "AI.ICO" - "As Invoker" Icon
 "HA.ICO" - "Highest available" Icon

 "RA.ico" - "require Administrator" Icon

 "UM.ico" - "User-Manifest" Icon

 

 

 

 

 

Syntax:

 

'#ICS:[Number][|N]

 

[Number] - a number in the range of 10 to the maximum number of available Icon-Sets. Currently this maximum Number is 66.
                Numbers from 1 to 10 are reserved and repeat later Icons (doubles).

[|N]          - "No Text". If this is specified, then always the "ST.ico" Icon is used, there will
                be no letters on the Icon like "HA","UM" etc. No Matter what Manifest is used!

 

 

Parameter Explanation:

 

The number of supplied icons may vary.
If you specify an invalid number, the standard Icon will be used.  

 

 

Example:

 

   '#ICS:10|N

'#ICS:34

 

 

Remarks:

If any of these Icons is not specified the default Icon is used instead.
The Icon-Folder can only contain ".ico"-Files.
To extract Icons from ".exe" or ".dll"-files, use the " '#ICO:-Directive and then rename the Icons and use them here.

 

The following Icons can be accesse via the '#ICS:

 

 

Builtin Icons

 

Limitations:

 

-

 

 

See also:

 

2.2.1 '#ICO: - Choose own Icon

2.2.2 '#ICF: - Icon from Icon-Folder