Docs

RunMacro Documentation

Learn RunMacro from basics to advanced.

Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

RunMacro robot
Docs Random Username from Name
🔤 Random

Build a username from an existing name in RunMacro

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.

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.

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.

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.

Tips & common mistakes

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

Ready to automate smarter?

Download RunMacro and start automating your desktop, browser, and business workflows today.