AutoHotkey (AHK) is a free, open-source macro-creation and automation software for Windows that allows users to automate repetitive tasks. It is driven by a scripting language that was initially aimed at providing keyboard shortcuts, otherwise known as hotkeys, that over time evolved into a full-fledged scripting language.
I created this simple funciton to calculate the distance between Latitude & Longitude with AutoHotkey. This formula takes into account the curvature of the earth and returns the results in an object with Feet, meters, kilometers, and Miles as options
Watch the video here showing how to Calculate distance between Latitude and Longitude
Here’s a quick way to Troubleshoot an AutoHotkey script
When someone tells me they have a HotString or HotKey that doesn’t work, the first thing I recommend is that they try running the script at a higher “level”. You can use the below code to Run as Admin. In the below video I also discuss a couple other ways you can run your script as an Admin and some of the risks involved.
Troubleshooting an AutoHotkey script: Run as Admin