I know I must be doing something dumb! Any ideas?
Variable Counter Test.kmmacros (3.2 KB)
I thought this was in keeping with... action:Set Variable to Calculation [Keyboard Maestro Wiki]
I'm confused.
Among many other things, I already tried the %Variable%LN%
syntax in the bottom to field as well.
There is something Keyboard Maestro doesn't like about using LN as the Variable name.
I wonder if LN is some secret function or mathematical notation?
This fails with error:
But this works
You are awesome! The quirk factor. I failed to consider the quirk factor. LOL
Thank you so much!
LN is the reserved name of a logarithm function
LOG or LN
logarithm base e.
While not a true scoping issue, it's a reminder that good things happen to people who scope their variables -- you wouldn't have had this problem is you used Local_Ln
, Global_Ln
, or similar.
See this bit of the manual for more about variable scoping -- it's a bit more typing, but it'll save you time in the long run!
Thanks to all of you for your input!