Example: Volume Control with Buttons

This example will show you how you can control the volume of your Windows computer with EventGhost. You will learn the basic features of terRemote.

Add the Button

Go to the start screen, drag open the left menu and start the Edit Mode with the edit button.
Some new items will appear. Click the left one to add a new button widget.
The new button appears. Press and hold it, then move your finger to the position that the button should have in the screen. After this, you have to edit the properties of the new widget. You can choose a text, an icon and a design for your button. Choose one that you like. You can click the "update" icon to see how your button will look later on the screen.
After you have chosen the appearance of the button, go to 'Action on click', click on the green "plus" icon, select 'Network Event' and enter 'Volume.Up' under 'Event'. Leave the server as it is. You can now save your widget by clicking on the icon in the upper right corner.
Leave the edit mode (using the same button as before) and press your new button.

The EventGhost Part

In EventGhost, you should see the new event "TCP.Volume.Up" on the left side in the log (and some unimportant data).
Create a new folder 'System' in your configuration tree
and create a macro inside this folder.
Select 'System' -> 'Sound Card' -> 'Change Master Volume' and press OK.
Choose a positive level (e.g. 5 percent) by which you want to increase the volume. A negative value would reduce the volume. Click on OK.
You see the new macro now. Drag your event into the new macro to tell EventGhost that it should perform the action every time you press the button.
Test your setup by pressing the button in terRemote. Watch the Windows volume go up. Repeat these steps for 'Volume Down' and 'Mute'. You now have full control over your Windows volume settings.
Next tutorial: Example: Volume control using seekbar