posacharter.blogg.se

Command to close all windows
Command to close all windows











command to close all windows

I was not able to find the desktop name in the environment variables (and it was not worth the trouble). I also noticed that Diego is right about the desktop name, and my Linux executable would only work on a French xfce environment with the desktop named "Bureau". close all open windows gracefully without closing the Desktop environment The Win (Windows) key is near the bottom-left corner of the keyboard. This shortcut quickly hides all open windows and shows the desktop. P.Parameters.Add('powershell -command "(New-Object -comObject Shell.Application).Windows() | foreach-object | stop-process"') The Win (Windows) key is near the bottom-left corner of the keyboard. P.ShowWindow := swoHIDE // Cache la console I wrote a small Linux/Windows cross-compilable Pascal prog compiled with Lazarus/FPC for my own use, which launches his wmctrl command, or the equivalent Powershell windows command: program CloseAll













Command to close all windows