Search the Community
Showing results for tags 'layout'.
I was not very happy with the existing solutions, so I just created my own. The workflow itself is quite simple just typ in the keyword "lay" (or chose another of your liking) followed by: full = Maximize left, right, top, bottom = Halves of screen topleft, topright, bottomleft, bottomright = Quaters of screen 11,12,13,21,22,23,31,32,33 = Thrids of screen 11-12,11-13,11-21,11-22 ... = Some other sizes based on thrids ... well the script is quite flexible, so I'm waiting for suggestions For MacOS 10.8 (Mountain Lion): The workflow itself can be found here: https://github.com/untoldwind/alfred2-layout/raw/1.0_Mountain_Lion/Layout.alfredworkflow and (obviously) its sources here: https://github.com/untoldwind/alfred2-layout For MacOS 10.9 (Mavericks): The version above does not work (unluckily). An alternative (though somewhat experimental) version can be found here: Release: https://github.com/untoldwind/alfred2-layout/raw/1.1_Mavericks/Layout.alfredworkflow Experimental (Bleeding edge): https://github.com/untoldwind/alfred2-layout/raw/master/Layout.alfredworkflow By the way: It is multi-screen-able. Even though you cannot move windows from one screen to another (yet?) the scripts tries to figure out with screen you mean (depending on the size of the visible area). A short note about the implementation: The script is written in python using PyObjC and the ScriptingBridge. This should be no problem as both is shiped as part of MacOS since 10.5. It the application supports scripting, the window is moved "directly". Unluckily some Applications do not support this, so there is a fallback using "SystemEvents". This only works if you have UI scripting enabled: http://www.macosxautomation.com/applescript/uiscripting/For 10.9 (Mavericks) this has slightly changed. A more detailed description can be found here: http://www.tekrevue.com/2013/06/25/how-to-enable-access-for-assistive-devices-in-os-x-mavericks/ In our case "Alfred 2" requires UIScripting access At the moment there are no hotkeys defined, which should be straight forward though
Are you keyboard junkie like myself? Have a ton of finder windows open or trying to copy and paste from one document to another... or some other unorthodox reason for needing window management? Yeah... me too. I've used several of the window management apps, they are all very cool and have a really cool feature set about them, but still can't justify the price? Yeah... me too. I've converted this Alfred extension from http://projects.jga.me/layouts/#toc3 to a workflow that uses both Hotkeys and Keyword trigger to help manage the top most window on your screen. Take a look at a look at Greg Allen's write up to learn how to use it. I only added a couple of hotkeys but feel free to edit to match your needs. If you already own a window manager like SizeUp take a look at Carlos-Sz - SizeUp workflow
This workflow is for running scripts using Mjolnir to control your windows. This is just a sample of the things that can be done. Follow this layout and you can do many neat things with Mjolnir. First off, download Mjolnir from https://github.com/mjolnir-io/mjolnir.git. That site also tells how to get started. To install the needed modules and configuration file, you will need to run the "mj:install" command. This will also install the cli program called "mjolnir". Once mjolnir and it's cli program is installed, use the "mj:find mjolnir" command to set the path to the executable. After this step is done, all the following commands are available to use. mj:install This will install some modules that is used in the configuration file for this workflow. It will also install a default configuration file for mjolnir. If you already have one, move it to a temporary location, run this command, and then copy your function to the configuration file. This should be the second command you run to get this workflow running. mj:updateinit This command just updates the init.lua file to the new one for the workflow. It does not try to update the modules. mj:reload This tells mjolnir to reload the configuration file. mj:open This will open the Mjolnir console to the front. mj:nup This nudges the current window up. mj:ndown This nudges the current window down. mj:nleft This nudges the current window to the left. mj:nright This nudges the current window to the right. mj:tcaff This toggles system caffenate. mj:leftthirds This moves the current window to the left 1/3 of the screen. mj:rightthirds This moves the current window to the right 2/3 of the screen. mj:lefthalf This moves the current window to the left half of the screen. mj:righthalf This moves the current window to the right half of the screen. mj:tophalf This moves the current window to the top half of the screen. mj:bottomhalf This moves the current window to the bottom half of the screen. mj:fullScreen This moves the window to the maximum size on the screen. mj:minimize This minimizes the current window. mj:tzoom This toggles the system fullscreen on and off for the current window. This moves the window to it's own space taking up the entire screen. mj:running This will list all the running apps. You can then just select one to bring it to the front, select with alt key to hide it, select with ctrl key to unhide it, and select with the fn key to close the application. mj:snap This snaps the current window to the closes grid box area. mj:setgrid This requires you to put the x, y for a starting position in a 3x3 matrix for the current window. Then you give the width and height. Therefore, to move the current window to the upper left most block in a 3x3 matric, you would do "mj:setgrid 0, 0, 1, 1". There is also a hotkey set to this value as an example. mj:command Type in a command string and it will be sent to Mjolnir directly! mj:ftmove This puts every window for FoldingText to the left half of the screen. mj:fttoday This focuses the window with the title "today.txt". That is my todo list for the day. mj:expose This will list all applications. When an application is selected, it will show all of it's windows in a matrix on the screen and ask the user for the coordinates of the one to show. It will then put all the windows back to their original position and bring the one selected to the foreground. If the application has only one window, it will simply bring it to the front. I also created a hotkey for doing Expose on FoldingText. The user can create more in the same manner. Just be careful to get the name of the application correct! mj:last This will move the last window moved around to it's position and size before the movement. This is a single level return. This workflow is also set up with a Remote page as well. Have fun controlling your windows from your iPad or iPhone. Please let me know if you have any issues with this workflow. Version: 2.1 GitHub: https://github.com/raguay/MyAlfred Packle: http://www.packal.org/workflow/mjolnir-workflow
There is a great layout workflow based on Layouts (http://projects.jga.me/layouts/#toc0). Free! However, I’m use to some of the SizeUp (shareware, $13) application Preferences regarding moving and resizing windows, snap them back and move a window to the next space. So I decided to make an Alfred workflow just in case you can’t remember a hotkey or even if you prefer to use Alfred. Download: http://dl.getdropbox.com/u/127623/SizeUp.alfredworkflow About SizeUp: http://www.irradiatedsoftware.com/sizeup/