Examples

Methodox Office comes with example documents in its Examples folder, one folder per application and one for automation, with a README.txt saying what each is. Every one of them was written by Methodox Office's own engines when the suite was built, so they show what the applications do today, and each carries its title, subject, keywords and a comment in File ▸ Properties.

The quickest way to open one is the Start Centre's Quick Starts page, which opens an untitled copy: change anything and save it wherever you like, and the shipped example stays as it was.

Documents that carry code open with a Scripts disabled bar. Click Enable to let their code run; Methodox Office remembers it for that document until its code changes. See Trust.

The Weather Report

Impulse\Weather Report.docx is a one-page weather report for a place, found by its name, over the free Open-Meteo geocoding, forecast and air-quality services: the place, the temperature now, eight tiles (feels like, humidity, wind, UV, sunrise, sunset, air quality and rain today), the next 24 hours as a temperature line over chance-of-rain columns, the week ahead, and a sentence the report writes itself.

The Weather Report in Impulse: the place and the temperature now, the eight highlight tiles, the 24-hour chart and the week ahead on one page

Every live part of the page is one of 33 smart objects; the layout is the document's own tables, fills and fonts, so it reads the same in Word.

  1. Open it. Without a network, it shows the forecast it fetched when the suite was built: the values are the document's own text, written by its last refresh.
  2. Enable, then References ▸ Refresh All (Ctrl+Shift+F9). The bar asks for each Open-Meteo service in turn, starting with GET geocoding-api.open-meteo.com; click Allow each time, and the whole page refreshes from the live services as one undo step.
  3. In the sidebar's Parameters deck (Tools ▸ Parameters), type another town into PlaceName (try Paris): the report finds it by name and refreshes, and the place, the region, the numbers, the chart, the week and the words all follow. Units (imperial for °F and mph) and Language (fr, de, es, zh or ja) change it too; in Chinese and Japanese the report writes its sentences and dates as those languages do, and the place names come back in the same language.
  4. Tools ▸ Scripts shows how it works: weather.functions.lua holds the requests, the words in six languages and the functions each smart object calls, and Hourly.dvj is the Divooka graph that fetches the next 24 hours and draws the chart as a picture. However many parts read one address, a refresh asks for it once.

Hover over any value to see where it comes from; the Smart Objects tab (References ▸ Smart Objects) lists them all.

The Market Dashboard

Expo\Market Dashboard.pptx is a four-slide market dashboard over FortuneWealth (fortunewealth.projectnine.world), a Yahoo-Finance-style service over a simulated market that needs no key: a watchlist with sparklines, the first ticker's price over the period with its figures, a comparison of every ticker, and the market's indices with the day's biggest movers.

The Market Dashboard in Expo, enabled and asking to Allow GET fortunewealth.projectnine.world: the watchlist slide with each ticker's price, change and sparkline

The deck draws itself with a script: Refresh.lua fetches the quotes, the history and the market and edits the slides through Expo's object model, and Deck.dvj, an Events graph, runs it when the deck opens and whenever a parameter changes. (Expo now has smart objects too, which fill tables and pictures on a slide without a script.)

  1. Open it. Without a network, it shows the market as it was when the suite was built.
  2. Enable. The deck's Opened handler runs, and the bar asks for GET fortunewealth.projectnine.world; click Allow and the deck redraws from the live market, as one undo step.
  3. In the Parameters deck, set Tickers (for example NFCX:NGV, NFCX:VWC, NFCX:PAR), Period (1mo, 1y) or Indices (up to four IDX: symbols), and the deck redraws at once.
  4. Tools ▸ Scripts ▸ Refresh.lua ▸ Run refreshes by hand; Ctrl+Z takes the whole refresh back.

Its charts are PowerPoint charts with their numbers in them, so the deck opens in PowerPoint as it shows here.

Data Sources

Formula\Data Sources.xlsx holds two Data Sources spilled by =DATASOURCE(): on the first sheet, sales by product from Sales.db, a SQLite database beside the workbook, for the Region parameter; on the second, Open-Meteo's week at the Latitude and Longitude parameters. Allow each when the bar asks, then change a parameter in the Parameters deck: the table fetches again and every column keeps its formatting. Data ▸ Edit Data Source…, with a cell of a table selected, shows how each is built.

Automation

The Automation folder holds the documents the Automation pages describe:

Example What it shows
Loan Calculator.xlsx =DVK.LOANPAYMENT and a spilled =DVK.AMORTIZE schedule, two Divooka graph functions, reading the loan's Principal, Rate and Years parameters. Change one in the Parameters deck and the sheet follows.
Formatting Rules.docx An Impulse document that styles itself by rules of regular expressions kept in a table at its end: numbered lines become headings, lines in capitals become headings, and Note: and Tip: paragraphs take a Note style. Edit a rule by typing in its row, then run Format.lua from Tools ▸ Scripts. The FirstLineIsTitle parameter, a switch, decides whether the first line is the title, and switching it formats the document again. Running the rules twice changes nothing more, and a rule with a mistake in it is named before anything changes.
Loan Letter.docx The same graphs as smart objects in a letter; hover over a node in Loan.dvj to see what it is and where it comes from.
Weather.xlsx =LUA.HIGH(1) and =DVK.FORECAST(), data-source functions that show #N/A until Data ▸ Refresh Data (Ctrl+Shift+F5) and Allow, and then answer from what they fetched, offline too.
Region Events.xlsx An Events graph that logs the workbook being opened and every range changed, and the StampRegion Routine, run from Tools ▸ Scripts or as MethodoxFormula --script "Graphs\Report.dvj#StampRegion" --open "Region Events.xlsx" --save-as Stamped.xlsx.
Graph Editor.xlsx The Pricing graph to open in the graph editor: change a value on a node and B2 follows at once. In B3 a graph with a node the Standard edition refuses, whose error leads to the node, and in B10 a Function whose answer is a picture, drawn in its cell.
Smart report Report.docx bound to Budget.xlsx by smart objects over the workbook, Lua and C#, and Review deck.pptx, an Expo deck whose figures, table and chart are bound to the same workbook.
Formula, Impulse, Expo, Nu Sample scripts: a summary sheet with live totals, formatting every table, a deck built from a workbook, and the circle of triangles in Lua and Python.
Python Three documents made by Python scripts they keep as Commands, so Tools ▸ Scripts shows the Python and Run makes the document again: Impulse\Monthly report (Python).docx (a sales report with a table and a summary from Python's statistics), Formula\Sales summary (Python).xlsx (the summary sheet in Python) and Expo\Sales deck (Python).pptx (a deck of charts, one per region, and a closing chart of the totals).
Graphs The graph documents on their own, as .dvj, which Divooka Compute opens.

Each application

  • Impulse: Welcome to Methodox Impulse (a tour of the program written by the program), a letter, and a quarterly report with a chart, notes and a table of contents.
  • Formula: Sales analysis (tables, a chart and conditional formatting), a budget, a loan calculator, a PivotTable workbook (a year of orders summarised by two live pivot tables) and the Data Sources workbook.
  • Expo: Welcome to Methodox Expo, a pitch deck with speaker notes, and Transitions and animations, four slides each arriving another way, and a build.
  • Nu: a flowchart, a floor plan, and a circle of triangles drawn by the script it carries. Each drawing carries a picture of its first page, which its Quick Start card shows.
  • Math: seven well-known formulas, from the quadratic formula to the normal distribution.