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 Keyboard Extract Email Username
✂️ Keyboard

Extract the username from an email in RunMacro

What it does

The Extract Email Username command reads the email in the clipboard, takes the part before @ (the username), and writes the result back to the clipboard. E.g. user@gmail.comuser.

When to use it

  • Generate usernames from a list of emails.
  • Process bulk email data in a sign-up workflow.
  • Take the name part to fill a "username" field.

Configuration steps

  1. Put the email in the clipboard (Copy Text from the email field, or Set Clipboard).
  2. Add a Keyboard › Extract Email Username command.
  3. Save. After running, the clipboard holds the username; use Paste from Clipboard to fill it.

Real example

Example: fill a username from an email

  1. Set Clipboard = john@gmail.com.
  2. Extract Email Username → clipboard becomes john.
  3. Click the username field, Paste from Clipboard.

Tips & common mistakes

If the clipboard has no @, the command leaves the content as-is and logs a note.
RunMacro robot

Ready to automate smarter?

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