pmb6tz / windows-desktop-switcher

An AutoHotKey script for Windows that lets a user change virtual desktops by pressing CapsLock + <num>.
MIT License
1.21k stars 229 forks source link

Error: Call to nonexistant function #104

Open rassawyer opened 6 months ago

rassawyer commented 6 months ago

About a week ago, the script stopped working. I tried a bunch of troubleshooting, and in the process, after a reboot, I got the following: image I downloaded the latest version of the script, I tried running it in 2.0, and 1.1, but I am afraid I am stumped. Would a windows update have caused this?

wis commented 6 months ago

you need to compile (or run) desktop_switcher.ahk, not user_config.ahk, you may need to update VirtualDesktopAcecssor.dll in the repo before compiling or running the ahk script, because the current dll in the repo is out of date since the January Window update. (see #101) you need to download the dll from https://github.com/Ciantic/VirtualDesktopAccessor/releases and replace the one in the repo.

rassawyer commented 1 month ago

Confirmed: Updating the DLL resolved this issue for me. ¯_(ツ)_/¯