If you used F-Keys (e.g. F24) as numbered hotkeys, the script did fail to find the correct desktop number, because the numbers in the KeyCombo of F24 were included to the desktop number.
Example:
When the hotkey was F24, and I triggered F24 & 1, the found DesktopNumber was 241, which led to the creation of many desktops.
If you used F-Keys (e.g. F24) as numbered hotkeys, the script did fail to find the correct desktop number, because the numbers in the KeyCombo of F24 were included to the desktop number. Example: When the hotkey was F24, and I triggered F24 & 1, the found DesktopNumber was 241, which led to the creation of many desktops.