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.
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#

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#
- Have a variable with the full name (e.g.
{fullname}). - Add a Random › Generate Username from Name command.
- Enter the name template (e.g.
{fullname}) and a result variable. - (Optional) enable append digits. Save.
Every option explained#
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#
- Random Name → variable
fullname. - Generate Username from Name: template
{fullname}→ variableuname. - 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#
Verification details#
commands/random_cmd.py
