---
title: "sendRemote"
canonical: "https://help.vicon.com/space/Shogun18/13667957/sendRemote"
format: markdown
---
# Description

Sends a command to remote control.

This command is valid on machines which are acting as remote servers.

sendRemote issues a command to a client connected to a server.

## Functional area

Remote control

# Command syntax

## Syntax

|  |
| --- |
| `sendRemote commandString` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `commandString` | string | yes | Specifies the command to send. `commandString` should end with a semicolon. |

### Flags

None

## Return value

void

> Macro (scroll-pagebreak)

## Examples

```plaintext
// This block of commands is to be executed on the machine which will 
// be receiving commands. A Real Time Processor should be created and
// visible in the client Hierarchy view after the command is sent from
// the server via the sendRemote commandclient on; this block of commands
// is to be executed on the machine which will be sending commands.
// 
server on;
string $command;
$command = "create RealTimeProcessor RealTimeProcessor_1;";
sendRemote $command;
```

# Additional information

## Related commands

- [client](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668848)
- [server](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13667955)
- [remoteControl](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668236)