This doesn't work with the latest insiders build. Nothing wrong with the script, there were changes to the COM file that controls virtual desktops, so the https://github.com/FuPeiJiang/VD.ahk dependency needs to be updated. The solution's been found in a PR there https://github.com/FuPeiJiang/VD.ahk/pull/62 so fix it locally till it's updated ;)
This doesn't work with the latest insiders build. Nothing wrong with the script, there were changes to the COM file that controls virtual desktops, so the https://github.com/FuPeiJiang/VD.ahk dependency needs to be updated. The solution's been found in a PR there https://github.com/FuPeiJiang/VD.ahk/pull/62 so fix it locally till it's updated ;)