![]() ![]() "Quick get the window you're after in focus you have 5 seconds." Public static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool = $true Public static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect) since the rectangle is relative to the window itself)īottom & right equal the windows hieght and width, respectively. Public static extern IntPtr GetForegroundWindow() NB: In some scenarios this can be NULL so code needed to handle such an event If the window is a child window of another program, its top left corner will be aligned with its parent window's top left corner. If the window is a main window, it will be moved to the top left corner of the screen. Wait a few moments (5 seconds from hitting RUN on the script).Press ALT+TAB / whatever to make the off-screen window active.Copy & paste the below code into a PowerShell ISE session.To close a virtual desktop, type WINKEY + CTRL + F4.For anyone familiar with PowerShell, try this: Type WINKEY + CTRL + LEFT ARROW (or WINKEY + ALT + RIGHT ARROW) to switch between available desktops.Ĭlose the current desktop. Type WINKEY + CTRL + D to create an empty new virtual desktop. But you can type this shortcut again to snap it to the right, and then again still to return it to its original state.Ĭreate a new virtual desktop. For example, if you type WINKEY + LEFT ARROW, the active window will snap to the left. The left and right snap shortcuts can be repeated to move a window through various states. Type ESC to dismiss Snap Assist when it appears.Ĭycle through Snap. ![]() When you do, Snap Assist appears so you can optionally choose another app or windows to snap next to this newly-snapped window.ĭismiss Snap Assist. Type WINKEY + RIGHT ARROW to snap the active window to the right side of the screen. Snap the window to the right side of the screen. When you do, Snap Assist appears so you can optionally choose another app or windows to snap next to this newly-snapped window. ![]() Type WINKEY + LEFT ARROW to snap the active window to the left side of the screen. Snap the window to the left side of the screen. Type WINKEY + UP ARROW to maximize the active window. (That is, make it a floating window again.) You can also type WINKEY + DOWN ARROW to restore a maximized window. Type WINKEY + DOWN ARROW to minimize the active window to the taskbar. This acts as a toggle until you perform some other window management function, so you can type it again to put everything back where it was. To minimize all viewable applications and windows at once, type WINKEY + D. Hide all windows … and then put them back. Just release TAB when you get to the one you want. So let’s get it up to 7 percent, shall we? Remember you can hold down on ALT and tap TAB repeatedly to move between the available applications and windows. But Microsoft tells me only 6 percent of users ever use this feature. The ALT + TAB keyboard shortcut has been in Windows since, well, the dawn of time. Switch between open applications and windows. But as you’ll see there are virtual desktop shortcuts too.) (Task View also provides an interface for creating and managing virtual desktops. Then, use the arrow keys and SPACE to select one and bring it front and center. Type WINKEY + TAB to see Task View, which provides thumbnails of all open applications and other windows. You’ve got open applications and other windows. And proof that Microsoft hasn’t totally given in to touch-first interfaces. But to the hundreds of millions of people now tentatively testing the Windows 10 waters, these shortcuts are brand new. If you’re familiar with Windows 8, you know that some of these shortcuts debuted a few years back. If you’re a productivity worker who doesn’t like to take their hands off the keyboard, no worries: Windows 10 has your back with some truly useful keyboard shortcuts that will help you manage and navigate between open applications and windows, and even virtual desktops, with ease. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |