DocsRandomUsername from Name

Build a username from an existing name in RunMacro

RunMacro RunnerRunMacro 3.5+

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.

Dialog & quick setup

RunMacro Username from Name command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Username from Name command in RunMacro.
  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.

Options reference

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.

Modes & when to use

RunMacro Runner

Best for

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

Use an alternative when

  • Do not use it with an empty source name or unsupported destination username rules.
Before you run
  • Add Username from Name to the macro.
  • Prepare the data or target that Username from Name will use.

Example workflow

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.
Expected result: After execution, Username from Name completes the described action and makes its result available to the next step.

Tips & limitations

Enable append-digits to reduce username collisions during bulk sign-ups.
  • Normalization can remove accents and collide; it does not guarantee validity at an external service.

Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11

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.