Description
There are scenarios when you want to insert line breaks while entering a value in an application such as Notepad, Wordpad, WhatsApp, etc.
Example:
In this article, let us see how we can insert line breaks using the ‘Input to desktop app’ activity.
Instructions
-
Enable the parameter ‘Use additional syntax for sending keys’ in the ‘Input to desktop app’ activity
-
If you want to enter the value “Hello How are you?” one after another using the ‘Input to desktop app’ activity, you can do so as follows:
1. Hello{ENTER}How are you?
-
There are applications when you hit ‘Enter’, the value is actually submitted instead of inserting a line break. In cases such as this, you can click on the ‘INPUT FROM THE KEYBOARD’ option, press the key combination that inserts a line break in that application
-
For example - In Whatsapp, if you hit ‘Enter’ the value is actually submitted. If you want a line break then you need to press ‘Ctrl + Enter' and the syntax that emulates ‘Ctrl + Enter’ is
^{ENTER}
-
-
If you want to enter the value “Hello How are you?” one after another in the WhatsApp application using the ‘Input to desktop app’ activity, you can do so as follows:
1. Hello^{ENTER}How are you?