Keyboard Maestro 8.2.4 Actions

I'm not sure what you are trying to achieve here, but that logic will result in the if statement always being false, since just prior to it you set
var myText = "";

thus it's length will ALWAYS be zero.

Also, as mentioned before, please always use a Code Block with scripts/code. I have fixed your above post this last time.

1 Like