LogoLogo
Version 3
Version 3
  • Version 3
  • Welcome to Flying Logic 3
  • Flying Logic Resources
  • Recommended Reading
  • Flying Logic 3 User Guide
    • Getting Started
    • What's New
    • Reader Mode
    • The Document Window
    • Constructing Graphs
    • Graph Logic
    • Domains
    • Chart View
    • Scripting
    • Menus
    • Keyboard Shortcuts
    • Preferences
    • Project Management
  • Flying Logic 3 Scripting Guide
    • Getting Started
    • Online Resources
    • Predefined Variables
    • Classes
      • Application
      • CalendarEvent
      • Color
      • Date
      • Document
      • Domain
      • Edge
      • EntityClass
      • Entity
      • FontSpec
      • GraphElemFilter
      • GraphElem
      • GraphOperator
      • Group
      • Junctor
      • LayoutLine
      • Resource
      • Symbol
      • TextEditor
      • VertexElem
      • VertexOperator
      • Workweek
    • Constants
    • Graphic Symbol Names
    • Importer and Exporter Examples
    • Flying Logic Document Format
  • Thinking with Flying Logic
    • Part I: Introduction
    • About This Book
    • Keys to Great Thinking
    • Part II: The Theory of Constraints Thinking Processes
    • Overview of the Theory of Constraints
    • The Categories of Legitimate Reservation
    • Current Reality Tree
    • Evaporating Cloud: Conflict Resolution
    • Future Reality Tree
    • Prerequisite Tree
    • Transition Tree
    • Strategy & Tactics Tree
    • Part III: Other Techniques
    • Evidence-Based Analysis
    • Concept Maps
Powered by GitBook
On this page

Was this helpful?

  1. Flying Logic 3 Scripting Guide

Predefined Variables

These variables are defined for each script and are the primary access to Flying Logic documents and other features.

PreviousOnline ResourcesNextClasses

Last updated 3 years ago

Was this helpful?

These variables are defined for each script and are the primary access to Flying Logic documents and other features.

Name

Description

document

This represents the current document and is an instance of the Document class.

Application

This is a singleton instance of the Application class. Methods and variables that are not related to particular documents can be accessed through this object.

scriptParentDirectory

The path to the directory containing the script.

scriptMode

Has the value importer, exporter or standard. This allows one script to act in any of the three modes; i.e., a script could be written as an importer and exporter.

importItemLabel

exportItemLabel

runItemLabel

These write-only variables will assign a custom name to the script’s menu item. See Writing for details.

Importers and Exporters