7

I am able to make a window appear on all of my Virtual Desktops by launching the Task View and Right-Click on the Window and select Show this window on all Desktops.

But when I close that window and re-open it again, that option is not enabled anymore. Is there a way to tweak around this?

3 Answers3

1

Yes, but only if you want this to apply to all windows of that app.

  1. Have more than one virtual desktops and the [app you want to show on all desktops] displayed on the current one (Source)
  2. Enter Task View either by the taskbar icon enter image description here or the shortcut Win+Tab (Source)
  3. Right click on a window associated with the application you want to open on all desktops
  4. Select "Show windows from this app on all desktops": enter image description here

Now, when you restart the app, it'll automatically show on all virtual desktops. (I'm not sure why, but the option above it does not persist.)

Daniel Kaplan
  • 725
  • 1
  • 10
  • 26
  • 1
    OMG this seems to work!! I've been looking for this forever… Will update my comment here if I find cases this DOESN'T work anymore. – Francois Bertrand Nov 08 '23 at 14:11
0

You may use the free AutoHotkey.

The following example script will detect one window whose title contains the string "Untitled - Notepad" and will set it to show on all desktops. Modify the title as required.

#Persistent
DetectHiddenText, On
SetTitleMatchMode 2

SetTimer, ShowAllDesktops, 500 Return

ShowAllDesktops: if WinExist("Untitled - Notepad") { WinGet, exstyle, ExStyle If !(exstyle & 0x00000080) ; visible on all desktops WinSet, exstyle, 0x00000080 } return

After installing AutoHotKey, put the above text in a .ahk file and double-click it to test. You may stop the script by right-click on the green H icon in the traybar and choosing Exit. To have it run on login, place it in the Startup group at
C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

Useful AutoHotkey documentation:

harrymc
  • 480,290
  • I just want to confirm that this is AHK v1, not v2, correct? I'm really sorry but I forgot to check-in over Christmas break and my bounty expired. I would've given it to you if I logged in sooner. – Daniel Kaplan Jan 01 '23 at 00:57
  • 1
    Yes, this is AHK v1. – harrymc Jan 01 '23 at 10:03
-3

You have to check as in the picture and it works! https://i.stack.imgur.com/tsmiI.jpg

And after there it is necessary to look in the chrome options so that at its next opening it launches all the tabs of the previous session https://i.stack.imgur.com/Cu3mC.jpg