- Nov 2022
Testing if Google Chrome can make annotations on this Auto Hotkey documentation page.
It (and Brave) can't make highlights or annotations for some reason. The prompt doesn't appear when text is highlighted, why is this? Is there a way to force the prompt to appear?
Page: Escape Sequences
I was looking for documentation on escaped characters.
This was because Auto Hotkey threw an error when I used
<%* %>as an option for the text insert script. It said the illegal character was
*but really what was happening was that the unquoted text
%* %was treated like a variable since
%is used to enclose variables in Auto Hotkey. The solution was to escape the percent sign with one left back tick.
Louis Burki 6 months ago (edited) I have make some changes to make it work, because I had a similar error. First, I have add a ":" before the "=" in the Text variable at the beginning of the script. Now it looks like that: "Text:=". Then I have put double quotes around (**your snippets**) so now it looks like this "(***your snippets***)". Then, I also changed the sort line to make it look that: Text:= sort(Text). And now it works as intended. Also, be careful not to remove the pipe symbol in your snippets.
Someone giving a troubleshooting solution to using Joe Glines' Auto Hotkey script that inserts text from a list of the user's choosing. The problem another user had was including it in their main script file, but this was resolved with Louis Burki's answer