We start by adding an action that will start up an application. In this case it will start the Windows calculator.
While this is already very handy, we can do much more if need be.
In this guide we want to start the calculator and then right away do some calculations. But we cannot do that yet. First we need to make sure the calculator application is running when we do that sequence of key presses and for this we need a bit of logic.
We need to add a wait timer function in between which can be found in the logic section of the action list. Click on this action to add it to the list of action the button will executed. We set the wait time to 2 seconds which will be enough to let the calculator application start and take focus. If you are on a slower computer, just increase the timer to fit the situation.
When the Wait action has completed the wait time, the next action will execute. In our example we do a virtual key press of the key "3". The calculator app receives this key press and will act as if you would have pressed that key on your keyboard. So the first part of the calculation in the calculator app has been done. In sequence we press the "+" key, the "8" key and to finish the calculation the last action triggered is the "enter" key which will give the result of our little sum within the calculator app.
When we press this button it will now start up the calculator. It will go through the Flow of actions and it will calculate 3+8.
This shows the core power of multi action macro buttons on Touch Portal.