Please enable JavaScript to view this site.

GeoDict User Guide 2025

Folder Panel

In the left panel of the Macro Execution Control, several folders are listed. They contain Python macros that can be executed by clicking Run.

AUTOMA~1_img19

Default folders

hmtoggle_arrow0Macro Tutorials & Examples

hmtoggle_arrow0GeoApps and My GeoApps

hmtoggle_arrow0Session Macro

hmtoggle_arrow0Project Folder

Edit the folder panel

Four buttons are located under the left panel of the Macro Execution Control dialog:

  • Add Folder: Click to add another folder containing macros to the panel.
  • Browse: May be used to find and select a macro (*.py, *.gmc) from other than the already listed folders in the left panel. Macros shipped with GeoDict can be found for example in the folders GeoApps, GrainGeo, Macro Tutorials & Examples or GeoDictAI included in the installation folder of GeoDict.
  • Refresh: Clicking Refresh actualizes the list of macros in the pull-down menu. After adding new macros to the project folder, click Refresh to have their file names included in the list.
  • Edit: GeoDict macros are stored as readable text files and, therefore, can be edited using any text editor, e.g. Editor, WordPad, or Notepad++.

GeoDict does not recognize a file as a macro when the file extension is not *.py or *.gmc. This can happen for example when Windows settings are such that extensions are not shown and, coincidentally the text editor (i.e. Editor or WordPad) automatically adds an extension to the file name (*.txt, *.doc, etc). Then, GeoDict finds macro1.py.txt instead of macro1.py and does not recognize it as a macro, failing to open it.

The simplest solution is to select a text editor used in programming, e.g., Emacs for Linux systems, or Notepad++ for Windows.

After adding folders with the Add Folder or the Browse button, they can also be removed at any time by right-clicking on the folder and selecting Remove.

AUTOMA~1_img33

hmtoggle_arrow0Example for editing a macro

©2025 created by Math2Market GmbH / Imprint / Privacy Policy