Modula Modula documentation

The tools

Expander

The Expander replaces a trigger with a piece of text while you type, in any field on any website. It's the fastest tool once you know your triggers: no menu to open, no mouse.

Typing a trigger Starter

Give a SmartText a trigger. Wherever you type that trigger — an email, a form, a chat — it is erased and replaced by the SmartText's content.

Example

Camille answers customers every day. Her “Signature” SmartText has the trigger !sig. She ends an email by typing !sig: the full signature — name, job title, phone — takes its place.

How to
  1. Open a SmartText (or create one) in Modula's Options.
  2. Fill in the Expander trigger field, for example !sig, then save.
  3. On any website, in an input field, type !sig.
Good to know

No prefix is required, but start your triggers with ! or :: they can't fire in the middle of a word you're actually writing. A trigger like thanks would fire every time you write “thanks”.

A trigger can't start with *: that character is used for searching by category.

When the SmartText contains fields Basic

If the SmartText contains dynamic fields (a name, a number, a date…), the trigger first opens the insertion form. You fill it in, confirm, and the complete text is inserted.

Example

The “Delivery tracking” SmartText, trigger !track, contains the Tracking number field. Camille types !track, pastes the number into the form, presses Enter: the complete sentence is inserted with the number.

See The insertion form and Dynamic fields.

Choosing when the trigger fires Advanced

By default, the replacement is instant: as soon as you type the trigger's last letter. You can require a confirmation key, to stay in control.

TriggerThe text appears…
Instant (no separator) (default)as soon as the trigger is complete
Spacewhen you press Space after the trigger
Tabwhen you press Tab after the trigger

The three can be combined: tick one or more.

How to
  1. Open Modula's Options, then Settings → Toolbox.
  2. Expander tab, Expansion timing section: tick your triggers.
Good to know

If your triggers look like real words, switch to Space: nothing fires until you confirm.

Several SmartTexts for the same trigger Expert

Two SmartTexts can have the same trigger — that's the case for every copy made with Duplicate. When you type that trigger, a small list opens below the cursor: choose the SmartText to insert.

Example

Camille has two signatures, “Signature — English” and “Signature — French”, both on !sig. She types !sig and picks the right one from the list.

Good to know

In the Options lists, a red ⓘ icon flags shared triggers. The edit form shows it too, while you type the trigger.

A trigger that overrides another Expert

With instant triggering, the replacement happens as soon as the typed word matches a trigger. If one trigger starts with another, the longer one is never reached.

Example

Camille has !ord (“Order”) and !order (“Order tracking”). Typing !order, !ord fires at the fourth character: “Order tracking” is never inserted.

How to
  1. Choose a trigger that doesn't start with the other one — for example !odr instead of !ord.
  2. Or switch to Space or Tab timing: both triggers can then coexist.
Good to know

Modula warns you: the edit form says so while you type, an amber ⚠ icon marks the overridden trigger in the lists, and Data health reports it.

Turning the Expander off on certain sites Expert Pro

On some sites, ! or : are part of what you type (a code editor, a spreadsheet). You can switch the Expander off there without stopping it elsewhere.

How to
  1. Settings → Restrictions, Expander line.
  2. Choose Block only on these sites and add the addresses concerned.

See Site restrictions.

Where the Expander doesn't work Basic

Some sites isolate their input fields in a closed area (a shadow root). The Expander can't read what you type there: a message warns you on the spot. The other tools work normally there — use the Launcher, the Sidebar or RightClick.

Good to know

Chrome's internal pages (chrome://…) are off limits to every extension. And a page already open when Modula was installed must be reloaded once.