Office work and automation
What you can build
- Batch conversions and renames of a folder of files
- Spreadsheets and reports filled in for you
- Macros that move the mouse and type into other programs
- Small tools with a window, and jobs that run on a schedule
Before you start
- Foundations, stages 1–2.
- Methodox Action Maker writes a program as a list of rows, one step per row. Divooka Explore uses a canvas of nodes and wires instead. Start with Action Maker if you have never programmed; stage 1 shows how to open the same program on the canvas.
- Editor: Divooka Explore or Methodox Action Maker. Divooka Compute to automate Methodox Office and to run documents on a schedule.
Stages
1. Your first program in Action Maker (optional)
- Methodox Action Maker, Your first program, Control flow, Variables.
- Action Maker programs and Divooka documents: the same program on the canvas.
2. Files
- Toolboxes: File Conversion, Operating System.
- File conversion. Example: File Conversion/Batch Converter.
- Use cases: bulk rename, CSV clean-up and more.
3. Documents and spreadsheets
- Methodox Office is Methodox's word processor, spreadsheet and presentation program; Divooka can read and fill in its documents.
- Examples: Office Files/Documents as Tables, Slide Decks as Tables; Data Analytics/Writing a Spreadsheet.
- Methodox Office, Methodox Formula (the spreadsheet).
4. Automate Methodox Office (Divooka Compute)
- Toolbox: Office. Examples (Compute): Office Automation.
- Automation and the programming model, Data sources, Document parameters, Command line and conversion.
5. Drive other programs
- Warning: the Automation/Desktop example takes over your mouse pointer until you press Escape. Read its notes before you run it.
- Toolbox: Desktop Automation. Example: Automation/Desktop.
6. Small tools and schedules
- Methodox App Maker makes a small app: you draw its window and write what its buttons do as rows (Divooka Compute, or on its own).
- Desktop GUI applications.
- Run a document on a schedule with Divooka Compute: Scheduling documents. To run it from a script, see Exporting a program.
Final project
Every Monday: collect the CSV exports from a folder, merge them, write a formatted workbook and a one-page summary, and move the originals into dated folders. The weekly run needs Divooka Compute.