im currently working on a pin code for my KLCK setup, and I’m using global text for it, so I want the buttons to add a number to a global text, like if the global text = 12, pressing on number 3 will set global text to 123
It’s actually pretty simple. You need to use a Toggle Global Switch action on each button’s Touch tab.
Go to the Touch settings of your button (e.g., number 2).
Add an action: Toggle Global Switch and select your text global (let’s say it’s named pin).
In the Text field of that action, enter this formula:
$gv(pin)$2
1 Like
but how do I remove the space between the numbers? like instead of 56237 I get …..56237 (“." is symbolizes the extra space)
There shouldn’t be any spaces at all.
Make sure you write the formula exactly as I showed you, with absolutely zero spaces or line breaks, like this: $gv(pin)$2. If you have any spaces in your Touch action fields, just delete them.