Resourcen-Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > RES. - EXE-Resourcen managen >

Resourcen-Commands

RES.Extract Icon

Previous Top Next


MiniRobotLanguage (MRL)

 

RES.Extract Icon

Extract Icons from a specified EXE- or DLL-File

 

 

Intention

 

This command is extract Icon-Resources from an EXE- or DLL-File.

These Resources will be stored in Folders with the name of the country code, in a given path.

 

  ' Example
  ' This is the path to the Source-File to be extracted

   VAR.$$FIA=?path\EXEs\Hello.exe

  ' The second Parameter is the Path to the root of all "Target Folders".

   RES.Extract Icon|$$FIA|?path\

   MBX.$tos$

   ENR.

 

This Script will create these folder with the name of the LanguageID of the Icons-Resource in ?path\.
 

F409

 

 

Inside that Folder you will find the extracted Icons.

 

 

Extract_Icon_0ß2

 

 

The name and path of the last saved Icon will be placed on TOS.

 

 

 

Syntax

 

RES.Extract Icon|P1|P2

RES.EI|P1|P2
 

Parameter Explanation

 
P1 - Path of EXE-File or DLL-File

P2 - Path of Target-Folder

 

 

Example

 

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

'#EXE:?path\

'#SPI:ForceWrite
' This is the path to the Source-File to be extracted

   VAR.$$FIA=?path\EXEs\Hello.exe

  ' The second Parameter is the Path to the root of all "Target Folders".

   RES.Extract Icon|$$FIA|?path\

   ' Last Icon Path is now on the TOS

   MBX.$tos$

   ENR.

 

 

Remarks

 

-

 

 

Limitations:

 

Note that there is currently no way to extract only a specified Icon.

 

 

See also:

 

! Ressourcen Commands

RES. - Manage Resources

  RES.Refresh Explorer

  RES.Change Icon

  RES.Change Manifest

  RES.Change Version

  RES.Extract All

  RES.Extract Manifest

  RES.Extract Version

RES.Last Icon

  RES.Last Manifest

  RES.Last Version

  2.2.1 '#ICO: - Choose own Icon

  2.2.2 '#ICF: - Icon from Icon-Folder

  2.2.3 '#ICS: / '#ICS: Icon-Set