Hmm. I ge the following error in the KBM Engine Log. Because I'm not yet fully understanding the script, I'm not yet making sense of where it comes from.
2024-06-07 17:36:09 Execute an AppleScript failed with script error: text-script:599:605: execution error: Canβt make text item 2 of item 1 of {"", "β₯β. is pressed==mySep==22", "β₯β1 is pressed==mySep==31", "β₯β2 is pressed==mySep==26", "β₯β3 is pressed==mySep==27", "β₯β§β3 is pressed==mySep==28", "β₯β§β4 is pressed==mySep==25", "β₯β§β5 is pressed==mySep==24", "β₯β§β7 is pressed==mySep==23", "β₯βA is pressed==mySep==1", "β₯βB is pressed==mySep==2", "β₯β§βB is pressed==mySep==32", "β₯βC is pressed==mySep==29", "β₯β§βC is pressed==mySep==30", "β₯βD is pressed==mySep==3", "β₯β§βD is pressed==mySep==4", "β₯βE is pressed==mySep==5", "β₯βF is pressed==mySep==6", "β₯βG is pressed==mySep==7", "β₯βH is pressed==mySep==33", "β₯βK is pressed==mySep==8", "β₯β§βK is pressed==mySep==9", "β₯βL is pressed==mySep==10", "β₯βM is pressed==mySep==11", "β₯βO is pressed==mySep==12", "β₯βP is pressed==mySep==13", "β₯βQ is pressed==mySep==14", "β₯βR is pressed==mySep==15", "β₯βS is pressed==mySep==16", "β₯βT is pressed==mySep==17", "β₯βU is pressed==mySep==18", "β₯βV is pressed==mySep==19", "β₯βX is pressed==mySep==20", "β₯β§βX is pressed==mySep==21"} into type number. (-1700). Macro βReplace Triggers with Sorted Onesβ cancelled (while executing Execute AppleScript).
Or with linebreaks:
2024-06-07 17:36:09 Execute an AppleScript failed with script error: text-script:599:605: execution error:
Canβt make text item 2 of item 1 of {"", "β₯β. is pressed==mySep==22",
"β₯β1 is pressed==mySep==31", "β₯β2 is pressed==mySep==26",
"β₯β3 is pressed==mySep==27", "β₯β§β3 is pressed==mySep==28",
"β₯β§β4 is pressed==mySep==25", "β₯β§β5 is pressed==mySep==24",
"β₯β§β7 is pressed==mySep==23", "β₯βA is pressed==mySep==1",
"β₯βB is pressed==mySep==2", "β₯β§βB is pressed==mySep==32",
"β₯βC is pressed==mySep==29", "β₯β§βC is pressed==mySep==30",
"β₯βD is pressed==mySep==3", "β₯β§βD is pressed==mySep==4",
"β₯βE is pressed==mySep==5", "β₯βF is pressed==mySep==6",
"β₯βG is pressed==mySep==7", "β₯βH is pressed==mySep==33",
"β₯βK is pressed==mySep==8", "β₯β§βK is pressed==mySep==9",
"β₯βL is pressed==mySep==10", "β₯βM is pressed==mySep==11",
"β₯βO is pressed==mySep==12", "β₯βP is pressed==mySep==13",
"β₯βQ is pressed==mySep==14", "β₯βR is pressed==mySep==15",
"β₯βS is pressed==mySep==16", "β₯βT is pressed==mySep==17",
"β₯βU is pressed==mySep==18", "β₯βV is pressed==mySep==19",
"β₯βX is pressed==mySep==20", "β₯β§βX is pressed==mySep==21"} into type number.
(-1700). Macro βReplace Triggers with Sorted Onesβ cancelled
(while executing Execute AppleScript).
I think it's reporting the whole contents of the list and saying that the script wants item 1
of that list, which is ""
and the script is then trying to get text item 2
of *that" empty string, and then attempting to turn that "text item 2 of item 1
" into a number, but it can't, because there is no item 2 of item 1
because item 1
is empty. (I probably could have said that more concisely if I actually knew what it was that I was trying to describe.)
I haven't yet figured out where in the script the blank entry is coming from.