Showing results for 
Search instead for 
Do you mean 

What is EML?

by Technical Evangelist on ‎09-22-2015 06:12 AM - edited on ‎03-24-2016 11:09 AM by Anonymous (579 Views)

What is EML?

The ERDAS IMAGINE graphical user interface was developed with the ERDAS Macro Language ( EML ). This language is a scripting language, which can be used to define the structure and content of the user interface, as well as provide some fundamental procedural scripting capabilities. Each script is interpreted at application startup and converted to instructions for the native windowing system (i.e., EML user interface constructs are converted to Motif under UNIX and Win32 under Windows). Each script is an ASCII file, which may be edited to change its contents. For example, the titles of all menus, buttons and other user controls may be changed to another language. In addition, menu items may be added or deleted. In many cases (though not all) commands may be added to or deleted from existing dialogs.



What is an 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: " $file;




How do I learn using EML and C Programmers' Toolkit?

  • Through Self-paced learning by reading the help for EML On-Line Manual and C_Tools On-Line Manual.
  • Look at the toolkit and EML examples from $IMAGINE_HOME/sources/ directory or browse the content of this website.
  • Leica Geosystems Training courses in EML/C Programmers' Toolkit Training and Advanced Toolkit Training from the Education Services and Developer Support Services.