Here's an example AHK script that was for changing what the cursor keys did (before they were configurable):