# Sending commands on cue

It is possible to send a network message via OSC, TCP, or UDP to an arbitrary destination by configuring a custom action in a cue item on the timeline or as action (on enter/on leave) for cue lists.

## Timeline

In timelines, create a new cue by right-clicking on the cue track (above the media tracks):

<figure><img src="https://2196782366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsCDusk0UPrmELvhRqYpD%2Fuploads%2FZwCsmmnbQmkdFNpRZfwQ%2Fimage.png?alt=media&#x26;token=f512de0c-3e31-4bf9-978f-6bef2f9bbe10" alt=""><figcaption></figcaption></figure>

Then set it to Action=`custom` and add the network command. Use variables (global or project variables) to keep the command adjustable.

<figure><img src="https://2196782366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsCDusk0UPrmELvhRqYpD%2Fuploads%2Fn42hZIVWk1F7uwnNw5gb%2Fimage.png?alt=media&#x26;token=aae31ab7-fb45-41c7-9998-19ce72d69f90" alt=""><figcaption></figcaption></figure>

## Playlist

A playlist item always provides two actions:

* **Action On Enter:** exectuted when starting the playback
* **Action On Leave:** executed after playback is finished

You can choose to execute commands on enter, on leave and on both events.

Set Action=`custom` and add the network command. Use variables (global or project variables) to keep the command adjustable.

<figure><img src="https://2196782366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsCDusk0UPrmELvhRqYpD%2Fuploads%2FVUjtJAdrHP8X8wWMWXtp%2Fimage.png?alt=media&#x26;token=b8b6119b-7e6e-44ae-883c-ed155858888e" alt=""><figcaption></figcaption></figure>
