Shortcuts / Templates

Defining a shortcut

From any application you use , you can define a textual shortcut.
Open for instance the applicatio you use to write SMS and click in a blank textfield to edit
the shortcut.


       

In the textfield ( any editable textfield , it does not matter which one ) , write your email adress.
Then long press ( at least 2 seconds , the keyboard icon ). A popup wiill show up.
Click on the 'add' button.


       


Let's say we want to have the email adress written each time we write the word 'mem' , followed by a blank.
Add the name in the text field as shown below, and click '+' to add. The red cross cancels the whole operation.

By pressing again the 'keyboard' picture for 2 secs, you can check the shortcut has been added in the list.
The lower part lists all shortcuts, while the upper part displays the shortcut bound expression.

By pressing for 2 seconds on a shortcut identifier , you can delete it, as shown below.





Thats it. Now from any application , you enter 'mem ' and you email adress will appear in place of this shortcut!


Defining a template

We are now going deeper in the subject. Not only you can define a shortcut , but you can add some parameters , delimited by $()
In that case, and only this one , when you type the shortcut in an editable text field, a field will appear on top of the keyboard,
prompting you for the values to insert , before the shortcut gets replace.

Example:

Mike frequently organises private pokers at home and sends SMS to his friends. He doe not have time to write
the same message again and again so he wishes to define a template message.
The message is always the same , appart from 2 things, the number of players he needs , and the kind of game he
want s to play ( bug stakes , small ones ). Mike writes the message template in any application , it does not matter.
The variable part of the message are in  $(player)  $(bet) , which mike would like to change each time he uses the shortcut
to write a message.



Later in the week , Mikes wants to send SMS so he opens the SMS application , he just types 'pkr ' and
the following thing happens:

       

Mike gets prompted for the value to assign to $(bet) , and he writes $100. Then he clicks on the right hand
side button to proceed to the next field , or to write the template if there are no more variables.
The left handside buttons goes backward, and ultimately cancels the operation.




After those 2 steps , the message gets written , where $(bet) and $(player) have been replaced by '$100' and '3' respectively.