![]() Choose "All Application" which means this change will affect all application, put the text "Maximize" in "Menu Title" textbox and.Go to System Preferences>Keyboard>Shortcuts>App Shortcut, then click.To maximize the active window(application), you must assign the operation to shortcut key as follows (Setup is required) :Maximize the active window.Command-Option-M :Minimize all windows of the active application to the Dock.Command-M :Minimize the active window to the Dock.Sorry I made a mistake about minimizing window. Other applications like Slate and Moom always use the accessiblity API. Telling the application to change the bounds of a window is faster but it doesn't work with all applications. When you tell System Events to change the position and size through the accessibility API, there is a noticeable delay between when the position and the size are changed. Set bounds of window 1 to Ĭlick (button 1 of window 1 where subrole is "AXZoomButton") Tell application (path to frontmost application as text) Tell application "Finder" to set b to bounds of window of desktop I have used FastScripts to assign a shortcut to this script: try Or add a line like this to ~/.slate with Slate: bind m:cmd shift move screenOriginX screenOriginY screenSizeX screenSizeY ![]() If you want the shortcut to always maximize a window to fill a screen, you can use for example Spectacle: ![]() Assign a shortcut for the Zoom menu item (or whatever it's called in your locale) from System Preferences: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |