I don’t believe I store any binary data, and I don’t think of 450 variables as “too many” since most of them are a single number, or a short list of numbers, or one line of text. I think I do have one variable that contains perhaps 500 lines of text, but that variable has been around for only a month and this problem has been around for years, even on previous hardware before I got his iMac. Is there a way, perhaps using a KM macro, to show me the names of my variables that use the most space? Using the Preferences: Variables pane of KM is a very inefficient way to find out which of my variables are “big”.
Since KM introduced Local variables recently, I have been starting to use them. One problem I face with using them is that they are only visible when the macro is running which makes debugging much harder, since I can’t run portions of the macro and still see the value of the variable. Once I’ve debugged my macros I’m usually too lazy to backtrack and convert my variables to local variables. If only I didn’t have to edit every single occurrence of a variable to make it a local variable!
You showed me a JXA script. I had to google what that was. When I goggled it said JXA can be run in the MacOS Script Editor application. I tried that, but it gave me a compile error on the first line “Syntax Error: A unknown token can’t go here.” Obviously I’m not in your league, but I tried to understand.
P.S. I think you meant to say that your colleagues do NOT experience this behavior.