autohotkey-plus icon indicating copy to clipboard operation
autohotkey-plus copied to clipboard

Check file paths on install or first run

Open incansvl opened this issue 4 years ago • 1 comments

OS: Windows 10 Pro 64 bit AHK: 1.1.33.2 Installation Path: C:\Program Files\Other\AutoHotkey

My copy of AHK is installed in a non-default location.

At the moment vscode-autohotkey installs (apparently) ok, but then fails the first time you try to run or debug a script.

Ideally the installation process for the extension would check the file path to the AHK executable and help file, give a meaningful warning then open the settings page so the user can set the correct paths.

If that isn't possible, a helpful message from the first attempt to run a script in the debugger, rather than a plain The system cannot find the path specified. error would be an improvement.

incansvl avatar Jan 02 '21 14:01 incansvl