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 Network DCOM / Change IP
📶 Network

Auto-change IP via DCOM/mobile network in RunMacro

The DCOM / Change IP command controls a cellular or dialup network to change IP, connect, disconnect, or check the Internet.

Prerequisites#

  • Add DCOM / Change IP to the macro.
  • Prepare the data or target that DCOM / Change IP will use.

Supported modes#

  • RunMacro Runner

What it does#

The DCOM / Change IP command controls a cellular or dialup network to change IP, connect, disconnect, or check the Internet. After changing IP it can verify with a ping/public IP and branch IF/ELSE.

Screenshots & video#

RunMacro DCOM / Change IP command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the DCOM / Change IP command in RunMacro.

When to use it#

  • Rotate IP between sessions to avoid IP limits.
  • Check the Internet before continuing.
  • Reconnect the network after a drop.

When not to use it#

  • Do not use it when the device/Dcom is not managed by you or IP changes violate network policy.

Configuration steps#

  1. Add a Network › DCOM / Change IP command.
  2. Choose the network name and type (cellular/dialup).
  3. Choose the action: Change IP / Connect / Disconnect / Check Internet.
  4. (Optional) set retries, delay, and IF/ELSE labels. Save.

Every option explained#

Network name + Type (cellular/dialup)#

The network to control and its connection type.

Action#

Change IP (disconnect then reconnect), Connect, Disconnect, or Check Internet.

Retries + delay between tries#

Retries until success. For Change IP: 0 means retry until it works.

IF label / ELSE label#

On success jump to IF; on failure jump to ELSE.

Expected result#

After execution, DCOM / Change IP completes the described action and makes its result available to the next step.

Real example#

Example: change IP before continuing#

  1. DCOM / Change IP, pick the cellular network, action Change IP.
  2. IF label = new_ip for the next steps.
  3. ELSE = retry to handle failure.

Limitations and failure cases#

  • Success depends on modem, driver, carrier, and reconnect timing; a new IP is not guaranteed immediately.

Tips & common mistakes#

It uses Windows netsh/rasdial — you need a configured DCOM/mobile network device.

Verification details#

  • commands/network.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.