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