Skip to content

Change List

  • Condition
  • Lists
  • Advanced mode

Adds an item to a list, inserts or replaces one at a position, or removes items. A list is text with one item per line, e.g. from Split Text or List Files; positions count from 1, and -1 is the last.

In the editor, press Space on the canvas to add a step, then open Conditions > Lists, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

List

A list, one item per line

One item per line.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Action

A choice
  • Add at the end
  • Add at the start
  • Insert at a position: The new item ends up at Position; the items from there move down.
  • Replace at a position
  • Remove at a position
  • Remove items equal to: Removes every item that is the same as Item.

Starts as: Add at the end Can come from another step's output

Item

Text

The item to add, or the one to remove. A line break in it becomes a space.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Position

A screen position

1 = first, 2 = second, -1 = last.

Starts as: 1 Can come from another step's output

Match case

On or off More options

Off: Apple and apple count as the same item.

Starts as: Off Can come from another step's output

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Change List outputs
OutputGivesWhat it is
ListA list, one item per lineThe changed list, one item per line.
CountA countHow many items it has now.
ChangedYes or noFalse when nothing changed, e.g. no item at that position.

More in Lists