mark-wiemer-org / ahkpp

AutoHotkey Plus Plus (AHK++) - AutoHotkey v1 and v2 support for VS Code
https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus
Other
152 stars 10 forks source link

The Open AutoHotkey Help command is failing #420

Closed angelgil closed 6 months ago

angelgil commented 6 months ago

Description

In an AHK Script V2, whenever I press Ctrl + F1 in a statement, VS Code shows up the following error:

A Command failed: "C:\Users\YYYYYY\AutoHotkey\AutoHotkeyU64.exe" /ErrorStdOut **(2):==> Call to nonexistent function. Specifically: SetWinDelay(IO)

Reproduction steps

Steps to reproduce the behavior:

  1. Go to 'VS Code'.
  2. Open an AHK v2 script.
  3. Put the cursor in statement, for instance, Send.
  4. Press Ctrl + F1 to call the AutoHotkey Help.
  5. VS Code shows up the error.

Expected behavior

The extension should open the AutoHotkey help document.

Additional context

Extension version Video of the issue

fade2gray commented 6 months ago

You may need to edit your paths in the extension's settings.

Screenshot 2024-02-16 184023

angelgil commented 6 months ago

Thanks @fade2gray , I have installed the latest version of AutoHotkey and I have edited the paths as you suggested and now it is working.