myotis
myotis

Reputation: 423

How to make my autohotkey script work when editing .tex files?

I have made a simple autohotkey script for inserting nordic letters on an english keyboard. Here is an example AHK script, where typing in ",e" is exchanged with the letter æ in my texts :

:c?*:,e:: ; small letter æ
send, æ
return

It works well on all text files, except those with the extension .tex. I use these .tex files for latex files that I edit in TexWorks.

How can I make my AHK script function in .tex files? Must I somewhere define which file extensions that my AHK scripts shall work for?

Upvotes: 0

Views: 131

Answers (1)

0x464e
0x464e

Reputation: 6489

From the comments:
TexWorks gets ran as admin, so the AHK script needs to be ran as admin as well so it can work in the TexWorks program.

Upvotes: 1

Related Questions