Hexagon Geospatial


ERDAS IMAGINE, the world’s leading geospatial data authoring system, supplies tools for all your Remote Sensing and Photogrammetry needs.
Showing results for 
Search instead for 
Do you mean 

Sample EML Script

by Technical Evangelist on ‎10-01-2015 09:22 AM - edited on ‎03-28-2016 11:47 AM by Anonymous (295 Views)


The ERDAS IMAGINE graphical user interface (GUI) was developed with the ERDAS Macro Language (EML). This language is a scripting language that can be used to define the structure and content of the user interface, as well as to provide some fundamental procedural scripting capabilities.

Sample EML Script:

component simple {

   frame simple_frame {
   title "Select File Dialog";
   geometry 10, 10, 300, 350;

      filename filein {
      title above left "Source file";
      geometry 5, 5, 250, 300;

         on filenamechoosen {
            echo "Selected File: " $filein;