GithubHelp home page GithubHelp logo

jgallen23 / layouts Goto Github PK

View Code? Open in Web Editor NEW
273.0 17.0 34.0 834 KB

an applescript and alfred extension to manage window layouts

Home Page: http://projects.jga.me/layouts/

JavaScript 4.48% AppleScript 93.91% Objective-C 1.61%

layouts's Introduction

Layouts

Layouts is an applescript and an alfred extension to easily move and resize application windows.

Go here for more info.

layouts's People

Contributors

jgallen23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

layouts's Issues

Didn't work with Sublime Text 2

Hi, thank you for the plugin.
I've found that it won't work properly when using some app like Sublime Text 2 and Alfred v2 preference. Don't know is this a bug or not. Thanks

Dropdown list of options

When typing in "layouts" I'd love to see common items here that I use often so I don't have to type them all up.

Layouts doesn't count dock

Hi there Greg,

It seems that Layouts isn't counting the height/width occupied by the dock. I've been watching the code and it seems that it's absolute positioned (in bottom-left and bottom right) in the middle of the screen but it shouldnt as it falls behind the dock.

I wasn't able to fix it but here you may find some interesting notes about it:

https://discussions.apple.com/thread/3553498?start=0&tstart=0

Does not work with some applications

@jgallen23
Thanks for creating this nice tool.

It works nicely with some applications: Finder, Final Cut Pro, Safari, Chrome, iTerm, Texmate
It does not work with some applications: Affinity Photo, Krita, PyCharm, VSCode, Blender, Clip Studio Paint

I notice that it typically works with Apple native applications or some older mature applications.

Other users may meet the similar issues before:
#6

Does it support fixed size?

Say I want to make the window a specific size, like 800x600 or 1024x768?

If not it may be a good feature request.

Layout not correct for left-aligned Dock

There's a small bug in the code for the case where the Dock is situated on the left of the screen. In getDisplayBounds, you have the following:

if screenEdge is bottom then
set item 4 of scrRes to (item 4 of scrRes) - dockHeight
else if screenEdge is left then
set item 1 of scrRes to dockWidth
set item 4 of scrRes to (item 4 of scrRes) - dockWidth
else if screenEdge is right then
set item 3 of scrRes to (item 3 of scrRes) - dockWidth
end if

That second line (set item 4...) in the left case causes windows to be resized to allow for the dock space underneath them. Removing it solves that problem.

Really appreciate the work you did on this, though - much obliged. Works fantastically.

layout does not position properly with multiple screens

Hi,
I am using layout with multiple screen (13" and 24"). the size calc is still ok, but there is problem with the positioning of the window, I guess it does consider the screen position configuration as it is set in the screen prefs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.