Have you considered adding Lua calls for accessing and modifying window contents, selections, etc? OS X has a rich collection of APIs for doing this via Scripting Bridge and AXAccessibility.
Hydra: A lightweight OS X window manager with a powerful API
61–70 of 157 posts
Re: Hydra: A lightweight OS X window manager with a powerful API
#62If you're looking for a window manager for OSX without having to actually configure anything, you can try using Spectacle: http://spectacleapp.com/ For instance on my imac 27'' I have Option+Command+Left|Right keys mapped to side (similar to windows 7. And I can also have 4 windows open at once using Shift+Option+Command+Up|Down|Left|Right to move them to the different corners. Works really well with less than 2 minu…
Re: Hydra: A lightweight OS X window manager with a powerful API
#63Re: Hydra: A lightweight OS X window manager with a powerful API
#64This looks great. Will try it out. It has always surprised me how OS X has such a poor window placement story given how much emphasis apple seems to place on User Experience.
I don't there is anything too surprising about this. "User Experience" isn't something you can measure on a single line, there are different aspects to it. I'm not an expert but I think the following are some of the things that users can appreciate: 1. That things work smoothly. 2. That things look pretty. 3. That it's easy to figure out what a program does when you first use it. 4. That it's possible to control the…
I think 4 applies to an extent; MacOS has very good (albeit stolen from Emacs) universal text navigation shortcuts, for instance. Funnily enough, they used to be quite keen on 5, with Services and Applescript. Services are still around, but have faded into obscurity, with surprisingly few users even being aware they exist; to an extent, they may be replaced by action extensions.
Re: Hydra: A lightweight OS X window manager with a powerful API
#65cool! one thing that kind of bugs me is that when you reload the config file, if there's something wrong with it, it just loads the fallback config. i don't see any error messages, so its hard to figure out what i did wrong in the config.
Re: Hydra: A lightweight OS X window manager with a powerful API
#66Re: Hydra: A lightweight OS X window manager with a powerful API
#67Looks great! Have been looking for a Slate replacement for a while... Have you considered adding Lua calls for accessing and modifying window contents, selections, etc? OS X has a rich collection of APIs for doing this via Scripting Bridge and AXAccessibility.
Re: Hydra: A lightweight OS X window manager with a powerful API
#68sdegutis: would it be possible to get spaces / mission control into the API? That is, if it's not already there; I looked in every module and couldn't find anything that looked applicable. Farthest I got was screen.mainscreen()["__screen"], which is a userdata.
Re: Hydra: A lightweight OS X window manager with a powerful API
#69sdegutis: would it be possible to get spaces / mission control into the API? That is, if it's not already there; I looked in every module and couldn't find anything that looked applicable. Farthest I got was screen.mainscreen()["__screen"], which is a userdata.
Re: Hydra: A lightweight OS X window manager with a powerful API
#70Welp, my sample config's REPL command was broken in the beta that everyone downloaded. And my first attempt at fixing it didn't actually work. It works on Beta 6. Nothing like my project being #2 on HN to make me rush enough to need two tries to fix a 1-line bug, heh.
Hey I'm checking out your config file now, Where can I get the grid package you are using?