Skip to main content
Ctrl+K
Leo - Home Leo - Home
  • Leo: organize code and ideas your way
  • Documentation
    • Preliminaries
      • Technical introduction to Leo
      • What People are Saying about Leo
      • Acknowledgements
      • Leo’s MIT license
    • Getting Started
      • Installing Leo
      • Running Leo
    • Tutorials
      • Leo in 20 Minutes
      • Using Leo as a Personal Information Manager
      • Creating Documents from Outlines
      • Writing Leo scripts in Python
      • Useful Tips
    • Users Guide
      • Clickable links
      • Leo’s Markup Language
      • Customizing Leo
      • Plugins
      • Leo’s Commands Reference
      • Directives Reference
    • Leo and other programs
      • Using Leo with Jupyter Notebooks
      • Leo and Asciidoctor
      • Leo and Emacs, including org mode
      • Using Vim with Leo
      • Embedding Leo with the leoBridge module
      • Leo’s WebSocket Server
    • Advanced Topics
      • Writing Plugins
      • Debugging with Leo
      • A Miscellany of Leo Scripting
      • Exploring Leo’s Code Base
      • Vim Mode: Theory of Operation
      • The Leonine World
      • Leo University
    • Appendices
    • What's New
    • Release Notes
    • More links
      • FAQ
      • Cheat Sheet
      • Code Snippets
      • Tutorial slides
        • Clones and views
        • Using external files
        • Leo’s Basics
        • Scripting Leo
        • Using the minibuffer
      • Screen shots
      • Screencasts
      • History of Leo
      • Glossary
      • Still more links
  • Repository
  • Open issue
  • .html.txt

Scripting Leo

Scripting Leo#

  • Introduction to scripting
  • c, g and p
  • Official ivars
  • Hello world
  • p.h and p.b
  • Iterators
  • Using iterators
  • Building scripts from outlines
  • g.openWithFileName
  • Debugging scripts
  • Further reading

previous

Summary

next

Introduction to scripting

© Copyright 1997-2026, Edward K. Ream.

Last updated on August 18, 2026.