Live data from Hacker News

AltTab – Windows alt-tab on macOS

alt-tab-macos.netlify.app

41–50 of 144 posts

Re: AltTab – Windows alt-tab on macOS

#44
post #4

Some feedback from a mac user (if this is your project): The only description of the functionality on the page is "brings the power of Windows’s “alt-tab” window switcher to macOS." As someone that hasn't used Windows in years, this doesn't actually tell me anything. What does this do that command-tab and command-` don't already do in mac?

I started using this to provide customization rather than being Windows-like. It's pretty customizable, so everyone's experience and preferences will be different but here are some of mine. 1. Command + Tab > Cycle all windows, within all spaces, on active screen (rather than all screens). 2. Command + ` > Same as above, but only for the focused/active application. 3. Customized size of thumbnail, font, items per row…

Pretty sure this also doesn't bring windows to the front when selected, either.

Re: AltTab – Windows alt-tab on macOS

#45

Wait what, macOS doesn't have any built in equivalent?

No. There is no way to get MacOS to be able to switch between open windows on a desktop via a keyboard shortcut without installing 3rd party software that adds this basic functionality.

not true: ⌘ Command + `

Re: AltTab – Windows alt-tab on macOS

#47
post #23

For Mac users asking "how is this different from the keystrokes I already have", this app is designed to give you Windows-style switching which is subtlety but fundamentally different from OSX-style window switching. MacOS is app-centric, so you have a keystroke to switch between apps and a keystroke to switch through the windows of the app. Windows is window-centric rather than app-centric, with a unified window sta…

> The difference is largely a historical artifact of the Macintosh operating system not originally supporting "multitasking."

This is a nice story, but reading on it seems like you're saying that the way app switching works on Windows as the Obvious and Correct thing to do, and that the Macintosh way of doing things is nothing more than a choice that was made too long ago to change.

Honestly, that's absurd.

The Macintosh has a menu bar at the top of the screen which belongs to the foreground application. This is a reasonable place to put a menu bar, because it is easy to click on things which are at the edge or (better yet) corner of the screen. This is a perfectly reasonable justification for having a foreground application.

Windows places the menu bar inside each window. So there is no need for "foreground application", only foreground window.

That's all that you need in terms of explanation. The Mac puts its menu bar at the top of the screen, Windows puts it inside each window. There's no need to tell some story about how the Macintosh was created during a more primitive era of computing history, because that story has no explanatory power.

Re: AltTab – Windows alt-tab on macOS

#48
post #17

I use this in combination with my rcmd app ( https://lowtechguys.com/rcmd ) and I can finally say I’ve reached the perfect app/window switching setup on macOS. Instant app switching with rcmd + visual window switching for multi-window apps like Xcode, Sublime Text etc. It’s similar to what I had on Windows with WinKey+number and their integrated AltTab thumbnails but better since I don’t have to count the apps in the…

I wish something similar to Autohotkey was available for mac. Karabiner comes cloes, but it's not quite the same thing.

How about skhd? https://github.com/koekeishiya/skhd

I use it to simply bind hotkeys to shell commands in a single config file.

Given the full power of the shell, you can even use AppleScript (through osascript) if you want to automate the UI/system like AutoHotkey does.

It can also send key events using the -k flag so you can remap keys to other key combinations.

Re: AltTab – Windows alt-tab on macOS

#49

Earlier quoted context omitted.

No. There is no way to get MacOS to be able to switch between open windows on a desktop via a keyboard shortcut without installing 3rd party software that adds this basic functionality.

not true: ⌘ Command + `

This only switches between windows of the same app. On Windows, with Alt+Tab you switch between all of the currently open windows of all applications.

Re: AltTab – Windows alt-tab on macOS

#50
post #23

For Mac users asking "how is this different from the keystrokes I already have", this app is designed to give you Windows-style switching which is subtlety but fundamentally different from OSX-style window switching. MacOS is app-centric, so you have a keystroke to switch between apps and a keystroke to switch through the windows of the app. Windows is window-centric rather than app-centric, with a unified window sta…

> Windows launched after the Mac, into an era of slightly more powerful processors and better understanding of user behavior on truly multi-application devices. These differences led Microsoft to adopt an OS-level unified window history model.

Yet Microsoft seems to be walking away from this model.

The Windows Taskbar was built on that, but has since diverged quite a bit from that model. The Windows 95 taskbar originally showed one entry per Window, until Windows XP started grouping Windows together when the Taskbar gets too crowded. Then Windows 7 started hiding the labels and made the Taskbar into a combined program launcher/window switcher, which now made the behavior of clicking on the icon itself very inconsistent, depending on the state of the program:

- when no instance of the program is running - shows the launching program animation and launches the program and brings the window on top

- when program has one window minimized - shows the unminimizing animation and brings the window on top

- when has one window not in focus - brings the window on top

- When program has one window on top - shows the minimizing animation and minimizes the window

- When program has multiple windows - opens the Taskbar Live Preview

Post reply on HN