Docs

RunMacro Documentation

Create your first robot, then go further as needed.

Clear step-by-step guides to create, run, and improve robots for repetitive computer work.

Docs Random Username from Name
🔤 Random

Build a username from an existing name in RunMacro

The Generate Username from Name command takes a full name (usually from a variable), strips accents, shuffles the parts in various ways, and appends digits to form a valid username.

Prerequisites#

  • Add Username from Name to the macro.
  • Prepare the data or target that Username from Name will use.

Supported modes#

  • RunMacro Runner

What it does#

The Generate Username from Name command takes a full name (usually from a variable), strips accents, shuffles the parts in various ways, and appends digits to form a valid username. The result is saved to a variable.

Screenshots & video#

RunMacro Username from Name command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Username from Name command in RunMacro.

When to use it#

  • You have a full name and want a matching username.
  • Register accounts with a name-based username.
  • Chain it after Random Name.

When not to use it#

  • Do not use it with an empty source name or unsupported destination username rules.

Configuration steps#

  1. Have a variable with the full name (e.g. {fullname}).
  2. Add a Random › Generate Username from Name command.
  3. Enter the name template (e.g. {fullname}) and a result variable.
  4. (Optional) enable append digits. Save.

Every option explained#

Name template#

A string holding the name, supports {...} variables. RunMacro splits and combines it into a username.

Result variable#

The variable to store the generated username (default username).

Append digits#

Adds 2–5 digits (and sometimes a letter) at the end to avoid collisions.

Expected result#

After execution, Username from Name completes the described action and makes its result available to the next step.

Real example#

Example: name to username#

  1. Random Name → variable fullname.
  2. Generate Username from Name: template {fullname} → variable uname.
  3. Fill {uname} in the username field.

Limitations and failure cases#

  • Normalization can remove accents and collide; it does not guarantee validity at an external service.

Tips & common mistakes#

Enable append-digits to reduce username collisions during bulk sign-ups.

Verification details#

  • commands/random_cmd.py
RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.