How do I implement this simple loop in Keyboard Maestro? I have been trying for hours and can't figure it out. I am new to Keyboard Maestro and yes I searched Google and this forum many times.
Thanks in advance for any assistance.
{
str = "12.345"
for (i = 1 to strlen(str)) {
myChar = stri[i]
...
}
}
The macro sets the variable to a string, I used the same one you provided as an example. Next you loop through a collection that is created by regular expression. The expression uses a period which finds every character. The character is placed into local_char where actions can be taken on it. For this example, I show a notification and set a delay before the next character is shown.