I know that WinKey+M and Winkey+D will essentially minimize all windows and show me my desktop. However, I have been unable to locate a similar shortcut key that either maximizes or restores all windows. Is there a pre-existing way to do this in Windows 7? I'd rather not mess with the BiOS if I don't have to.
Answer
Well, I doubt that it is really the answer that you are looking for, but on Windows 7, you could save this as a powershell script somewhere:
$dllInfo = '[DllImport("user32.dll")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);'
Add-Type -MemberDefinition $dllInfo -name NativeMethods -namespace Win32
foreach($proc in Get-Process){
$hwnd = $proc.MainWindowHandle
# Restore window
[Win32.NativeMethods]::ShowWindowAsync($hwnd, 4) | Out-Null
}
Then bind a key to run that script.
Comments
Post a Comment