Jump to content

Search the Community

Showing results for tags 'resize'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 6 results

  1. 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
  2. I made this to fit my web development workflow, primarily for responsive testing. This workflow opens a new resized window of the active tab for small, medium, and large devices in Google Chrome Canary, or Google Chrome. There's also an options to open two new windows, small and large, side by side, or open a new resized window and open DevTools at the same time. I've also included the Firechrome Alfred workflow to open Chrome's active tab in FireFox. Hopefully some of you fellow web developer's will find this useful. Feedback would be much appreciated. Window positioning still needs some work, as well as window positioning when using multiple displays. Here's a link to the repo: https://github.com/wad3g/alfred-chrome-canary-webdev
  3. 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
  4. This is how I've set it up: keyword -> Launch Apps / Files (with my selected files) -> Run Script where the script is Language: /usr/bin/osascript and the script is as follows: tell application "Moom" arrange windows according to snapshot named "MyLayout" end tell This assumes you've set up a Window Layout Snapshot in Moom called "MyLayout" & which is appropriate for the selected files. I've set up custom snapshots on all three of my machines for the optimal workspace layout based on screen size. Since Moom prefs. are local to each machine (and hence customized based on screen size) but Alfred prefs. are synced in Dropbox, this works great. I can use the same keyword on each machine, and get appropriate results.
  5. This is a simple workflow I set up to resize windows. The keywords are as follows: t = top b = bottom l = left r = right tl = top left tr = top right bl = bottom left br = bottom right c = centered f = full I used to program these as hotkeys in Alfred 1 but I find that a few extra keystrokes is worth not having to remember 10 different hotkey combinations. The Alfred 1 project I based this on can be found here: http://projects.jga.me/layouts/#toc3 I hope people find this useful. Download it here: http://bit.ly/ZrwMGo
  6. This workflow is useable but also a skeleton I made to answer a question @rosenkrieger asked on app.net (https://alpha.app.net/rosenkrieger/post/4397777). In the form I present it, it has hotkeys and (non searchable) the ".arrange" keyword which lists some arrangement setups (frontmost window left, right, top left quarter) and an example on starting an application (safari) and moving its window into place. Keep in mind this was more a proof of concept for testing if it is possible to start apps and arrange windows with alfred in an easy way. It can be used to resize the frontmost window by keeping the application name in setWin() empty (see the first 3 of my sample setups) It also can be used as base to create your own customized workflow which starts applications and puts it's window into the place you want (see the 4th setup) After installing the workflow set the Hotkeys to "Shift + ALT + CMD + A", "Shift + ALT + CMD + B", "Shift + ALT + CMD + C", "Shift + ALT + CMD + D" When you then press the hotkeys it does the frontmost window resize magic. You can also pop up Alfred and type ".arrange " to get the list of available arrangement setups and chose one of them. Feel free to modify the script (pretty straight forward I think) to do what you want! Download: https://github.com/oderwat/alfredworkflows/blob/master/Window%20Arrangements.alfredworkflow
×
×
  • Create New...