VirtualDesktopAccessor icon indicating copy to clipboard operation
VirtualDesktopAccessor copied to clipboard

Feature Enhancement

Open Carnbroe opened this issue 1 year ago • 1 comments

GoToDeskTopNumber - Some times it would be really usefull not to have the desktop name popup when you switch desktops.

Could this be implimented with either a specific string as the window name i.e. SetDesktopName(0, "NoShow") or just SetDesktopName(0, "") An alternative could be using a desktop number of say a number 100 plus the existing desktop number i.e. for desktop 0 use SetDesktopName(100, "This wont be displayed")

Carnbroe avatar Mar 02 '25 23:03 Carnbroe

Interesting, I think the API doesn't have such a switch.

But if setting it empty before switching works, then you can do that:

GoToDesktopNumber(num) {
    global GoToDesktopNumberProc
    Name := GetDesktopName(num)
    SetDesktopName(num, "")
    DllCall(GoToDesktopNumberProc, "Int", num, "Int")
    SetDesktopName(num, Name)
    return
}

I haven't tested this, but it should work right?

Ciantic avatar Mar 14 '25 18:03 Ciantic