<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Ryan Hanson - Medium]]></title>
        <description><![CDATA[Programming. Daydreaming. - Medium]]></description>
        <link>https://medium.com/ryan-hanson?source=rss----9bab8adb9312---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Ryan Hanson - Medium</title>
            <link>https://medium.com/ryan-hanson?source=rss----9bab8adb9312---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 18:55:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/ryan-hanson" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Key remapping built into macOS]]></title>
            <link>https://medium.com/ryan-hanson/key-remapping-built-into-macos-c7953b1a62e4?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/c7953b1a62e4</guid>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 00:50:21 GMT</pubDate>
            <atom:updated>2024-09-09T02:53:41.463Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uWFvux5lxiDrP6orMZTZzw.png" /></figure><p>If you want to simply remap one key to another key in macOS, there’s no need for third party tools. The most common reason to do this is to use a windows keyboard with your Mac. Here’s a quick guide for it:</p><p>If you only want to remap modifier keys, you can use System Settings. Search for “customize modifier keys”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ntS-PN4Y0EGG7nGIcsu-Ww.png" /></figure><p>Beyond that, macOS has a way to remap keys using a built-in tool called hidutil:</p><p><a href="https://developer.apple.com/library/archive/technotes/tn2450/_index.html">Remapping Keys in macOS 10.12 Sierra</a></p><p>Probably the quickest way to utilize hidutil is to use this generator and copy/paste the output as directed:</p><p><a href="https://hidutil-generator.netlify.app/">https://hidutil-generator.netlify.app/</a></p><p>Maybe you want a little more control over what’s going on, though. Let’s run through creating a simple Automator app that invokes the command line hidutil, and turn it into something we can set up to run when we want.</p><p>As an example, let’s remap the menu button (depicted by three horizontal lines) on a Windows keyboard to the right command key.</p><p>1. Open Automator</p><p>2. Create a new Application</p><p>3. Drag and Drop “Run Shell Script”</p><p>4. Paste in the following. Note that these values were obtained in the <a href="https://developer.apple.com/library/archive/technotes/tn2450/_index.html">Apple Tech note</a> referenced above:</p><pre>hidutil property --set &#39;{&quot;UserKeyMapping&quot;:[{&quot;HIDKeyboardModifierMappingSrc&quot;:0x700000065,&quot;HIDKeyboardModifierMappingDst&quot;:0x7000000E7}]}&#39;</pre><p>Note that this command will have to be run with sudo privileges for certain keys, in macOS 14.2+.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gEtWk7f49dAYH5ykw5idSQ.png" /></figure><p>5. Export the app in automator. If you have a developer id, you can sign it here to pass it around to other macs.</p><p>6. Now that you have an app, you can add it to your login items in System Settings, just search “login items”, and add it there.</p><p>You can use those same steps to create another app for clearing your remapping, if desired. Here’s the terminal command for clearing the remapping :</p><pre>hidutil property --set &#39;{&quot;UserKeyMapping&quot;:[]}&#39;</pre><p>If you want more complicated key remapping, you’ll need a third party app. Here are some options made by me.</p><ol><li><a href="https://multitouch.app/">Multitouch</a> is a paid app that lets you add more gestures to macOS, and remap keys to do whatever you want. It also comes with my window management app, <a href="https://rectangleapp.com/">Rectangle</a>, built-in.</li><li><a href="https://hyperkey.app/">Hyperkey</a> is a free app that has one job — remapping a key to the hyper key (⌃⌥⌘⇧). The hyper key can be used as an extra modifier key that won’t conflict with other keyboard shortcuts.</li><li><a href="https://superkey.app/">Superkey</a> is a paid superset of Hyperkey that has more key remapping capabilities. It also includes a feature called Seek that will find matches for what you type and click it. Avoid having to reach for a pointing device!</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7953b1a62e4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/key-remapping-built-into-macos-c7953b1a62e4">Key remapping built into macOS</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An editable path bar for Finder in macOS]]></title>
            <link>https://medium.com/ryan-hanson/an-editable-path-bar-for-finder-in-macos-b7dbf7717cc9?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/b7dbf7717cc9</guid>
            <category><![CDATA[finder]]></category>
            <category><![CDATA[file-browsing]]></category>
            <category><![CDATA[file-explorer]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[path-bar]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 00:37:39 GMT</pubDate>
            <atom:updated>2022-10-23T14:38:06.988Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3Lv6N9nfRhaZPAAi163DKQ.png" /></figure><p>The Finder in macOS is pretty amazing, and it’s really easy to take for granted all of the details that it gets right. A lot of users coming over from Windows or Linux tend to focus on the differences, one of those being the lack of an editable path bar. I set out to make an editable path bar, and came up with <a href="https://filebar.app/">Filebar</a>.</p><h4>What’s already in Finder?</h4><p>There are couple of things to assist in file paths in Finder. In the menu, if you select View → Show Path Bar, you get a bar at the bottom of the finder window that will show the path of the current location or selected item.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6KoiHEqVRZGyhnFlImrSUQ.png" /></figure><p>Also, you can select Go → Go To Folder… to go to a specific path as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*2A1hzY4u5OVhv4NkIWDYXg.png" /></figure><p>The nice thing about these solutions is that they are built-in and you can use keyboard shortcuts to access them. The downside is that they are just not the editable path bar like what’s in the Windows File Explorer.</p><h4>Enter Filebar</h4><p>Ideally, I could create an editable path bar to add directly into a Finder window, so that it looks and behaves just like the Windows File Explorer. This has been done in the past by at least one other developer, but this type of extension is no longer doable in current versions of macOS. A nice alternative is to show a Spotlight-like search bar that can be used for path editing and file access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oNfKjvgnvQJnA76ikZPo9Q.png" /></figure><p>Separating the app from the implementation of Windows File Explorer allows me to take more liberties for how the app works, but using the search bar implementation has the downside of not being always visible. The outcome of this is that Filebar has a little bit of a learning curve, but also has more flexibility in being separate from what’s in Finder.</p><h4>Showing the Filebar</h4><p>Since it’s not always visible, you can use the following ways to open it:</p><ul><li>Services in macOS: Right click on a file in Finder and select the service “Show in Filebar”. <br>Or select a file and execute the service keyboard shortcut (⌃⇧D by default).</li><li>Drag and drop a file on the menu bar icon.</li><li>Drag and drop a file on a panel that appears when files are dragged. Configure where the drop panel appears.</li><li>Keyboard shortcuts for just showing Filebar or showing Filebar and pasting what’s on the clipboard.</li></ul><h4>Autocomplete</h4><p>The most powerful part of Filebar is the ability to autocomplete and list files on the fly. The tab key can play an important role in selecting parts of the path in the Filebar.</p><ul><li>The last path element will be highlighted when a filepath is displayed from a file.</li><li>Use shift+tab to highlight containing directories in the path, and tab again to un-highlight containing directories.</li><li>If the last path element is highlighted, tab will cycle through the list of matches.</li><li>If the last path element is a directory, and there is only one match for the path, tab will add a slash to the end of the directory and list the contents. If there are multiple matches, you can use control+tab to add the trailing slash to a directory path.</li></ul><h4>Try it out!</h4><p>There’s a lot more to <a href="https://filebar.app/">Filebar</a>, like being able to create new files at a path if the file doesn’t exist. The core functionality is entirely free, but I added in some really nice paid features as well:</p><ul><li>Star files &amp; folders to keep in a quick, handy list</li><li>Show a history of all the files &amp; folders you’ve accessed in Filebar</li><li>Open an entered path in Terminal</li><li>Share files &amp; folders quickly</li></ul><h4>Wait, do I really need this?</h4><p>I noticed some users saying that apps like Raycast and Alfred do things like this. I’ve also noticed that there are a lot of users that think they are simplifying by using less apps. Obviously, Filebar is in the camp of doing one thing well, and I firmly believe that multiple apps that focus on solving specific problems is way better than one app that can “do it all”. You’re just not going to get the same attention to detail and specialty from the “do it all” app. With that said, Filebar does have a learning curve. If you’re not doing much with file paths, then maybe it’s not the tool for you. For me it solves a problem, and hopefully it helps you out, too!</p><p><a href="https://filebar.app/">https://filebar.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7dbf7717cc9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/an-editable-path-bar-for-finder-in-macos-b7dbf7717cc9">An editable path bar for Finder in macOS</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Match what you type and click it: Superkey]]></title>
            <link>https://medium.com/ryan-hanson/match-what-you-type-on-and-click-it-superkey-8d194989b33e?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/8d194989b33e</guid>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Fri, 10 Jun 2022 22:51:40 GMT</pubDate>
            <atom:updated>2022-06-15T01:36:22.189Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*O_07ZA0A07H4X-hls1_FXw.png" /></figure><p>Despite having built apps centered around doing things faster with multi-touch input and cursor movement, I still find myself in scenarios where taking my hand off the keyboard slows me down.</p><p>There are a ton of ways that you can optimize your keyboard usage, but there’s still a gap where a mouse or trackpad is necessary. I built <a href="https://superkey.app/">Superkey</a> to bridge this keyboard gap a little, and it’s been a surprisingly big workflow improvement.</p><h4>The main feature is called Seek.</h4><p>It’s a way to click text that you type in a Spotlight-like search bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Srd5aAfDxlfuY-k4YPHbfQ.jpeg" /></figure><p>You can tie it to a keyboard shortcut, much like Spotlight or any launcher app, or you can remap a key to show it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b2mhqEZGFa0yK1n87uFZhw.png" /></figure><p>After typing in the Seek bar, you can change the selected match with the up and down arrows or tab and shift+tab, and hit enter to click.</p><p>My preferred way to use Seek is to remap caps lock to it, and check the box for “Only show while the remapped key is held”. This becomes similar to executing a keyboard shortcut and is definitely the quickest, but requires you to be able to type words with a pinky down on the caps lock key. If you’re like me and type “incorrectly” using only the left shift key for shift, it’s not that big of a stretch.</p><p>The Seek functionality is powered by Apple’s Vision framework that uses OCR to match the text on your screen. In this first iteration, Seek might not match every single occurrence of entered text, although I’m looking at ways to improve it. Examples of text that doesn’t match include extra small text, certain shades of blue text on black background, and text that is too close to other lines.</p><h4>Hyperkey included</h4><p>My <a href="https://hyperkey.app/">Hyperkey</a> app is entirely included in Superkey. If you’re unfamiliar with the “Hyper Key”, the concept is just to reassign a key to be cmd+control+shift+option, a key combination that is not typically used in any default shortcuts. It effectively turns into an extra modifier key.</p><h4>Continuing the Hyperkey mental model</h4><p>The reason I really like Hyperkey is because it is a simple one-purpose app. By creating Superkey as a separate app, I can preserve Hyperkey while catering to the endless possibilities with keyboard customization. However, Superkey will follow the same simple checkbox-centered configuration, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UBUs0LoMrf4FVD54wkwnbw.png" /></figure><p>There’s definitely a tradeoff between offering complex entirely custom key remappings versus the canned presets here, but I’ll always prefer just checking a box over messing around with complicated preferences construction if I can get away with it. If you have more presets that you’re looking for, definitely let me know — I’m up for adding more checkboxes in here.</p><p>There are still a couple more shortcomings that will get ironed out in upcoming releases, like drawing the line to the selected match on a different display, but I’ve been enjoying using the app so much that I wanted to go ahead and get an initial version out the door.</p><p>Give <a href="https://superkey.app/">Superkey</a> a try and let me know what you think!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d194989b33e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/match-what-you-type-on-and-click-it-superkey-8d194989b33e">Match what you type and click it: Superkey</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hyper key in macOS]]></title>
            <link>https://medium.com/ryan-hanson/hyper-key-in-macos-30d6faaad172?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/30d6faaad172</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[trackpad]]></category>
            <category><![CDATA[keyboard-shortcuts]]></category>
            <category><![CDATA[hyper-key]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Sat, 02 Oct 2021 19:29:31 GMT</pubDate>
            <atom:updated>2023-06-29T17:40:16.956Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Gt-HWBaYQnVCfDdE6ghO-g.png" /></figure><p>With the ubiquity of window manager applications like <a href="https://rectanglemac.app/">Rectangle</a> in macOS, it is surprisingly easy to run out of good, unique keyboard shortcuts that do not interfere with other applications. A common solution for this problem is to remap a key (often caps lock) to the “<a href="https://stevelosh.com/blog/2012/10/a-modern-space-cadet/"><strong><em>hyper key</em></strong></a>”: a combination of shift, control, option, and command. Since this modifier key combination is very unlikely to be taken by shortcuts in any application, it collectively becomes an extra modifier key. My take on this solution is a single purpose app called <a href="https://hyperkey.app/">Hyperkey</a>.</p><p>Remapping caps lock to the hyper key is actually quite easy set up in Karabiner-Elements, which is free and open source. Hence an obvious question: why bother creating a paid, closed source app that does the same thing without all the other key remapping stuff? Let’s take a look at it.</p><h4>The quest for lightweight simplicity</h4><p>Mainly, I just prefer something lighter weight and I don’t actually want anything else that Karabiner-Elements has. That’s why Hyperkey’s UI is just checkboxes with a couple dropdowns where necessary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLJGlJNOPOnGlFX8URn3bQ.png" /></figure><p>Remapping a key is just a checkbox &amp; dropdown away. I actually prefer remapping right option to the hyper key.</p><h4>Under the hood</h4><p>Hyperkey performs key remapping at a few high-ish level positions in the macOS event stream, unlike Karabiner Elements. This has some good and bad tradeoffs. The good is that it makes Hyperkey much more light-weight than Karabiner Elements. It is not really possible for Hyperkey to create a kernel panic, and it’s trivial to uninstall Hyperkey if needed. The bad is that there are some applications or macOS system behaviors that won’t interpret the remapped key properly. However, Hyperkey will work for the vast majority of scenarios. A note if you’re using Keyboard Maestro: Hyperkey will work with it but you will need to press all the modifier keys in the Keyboard Maestro shortcut recorder and all subsequent behavior will still be properly triggered.</p><h4>The goal</h4><p>My goal with <a href="https://hyperkey.app/">Hyperkey</a> is to maximize a human performance gain while minimizing configuration and OS impact. Despite pre-existing solutions to this problem, I still can’t help but gravitate toward Hyperkey and this goal.</p><h4>Maybe you are looking for something more?</h4><p>I created a superset of Hyperkey, and it’s called <a href="https://superkey.app/">Superkey</a>. Superkey includes everything in Hyperkey, but adds the ability to find and click text anywhere on your screen using just the keyboard. It also has more keyboard remapping presets that you might find useful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30d6faaad172" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/hyper-key-in-macos-30d6faaad172">Hyper key in macOS</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demo your shortcut keys on macOS]]></title>
            <link>https://medium.com/ryan-hanson/demo-your-shortcut-keys-on-macos-87fbeb8ab153?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/87fbeb8ab153</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[demo]]></category>
            <category><![CDATA[keyboard-shortcuts]]></category>
            <category><![CDATA[keystrokes]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Wed, 28 Jul 2021 15:09:50 GMT</pubDate>
            <atom:updated>2021-08-21T20:40:20.714Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*jY1oyGr5ge3gD549oHIvUQ.png" /></figure><p>To properly demo my apps, I need to communicate keyboard shortcuts, and a while back the only player in that game was the free, open source Keycastr. Unfortunately, Keycastr didn’t nail the visuals for me. The keyboard shortcuts are difficult to digest as a viewer, and the modifier key display is not prominent.</p><p>I think other developers had the same issues, and a couple more solutions popped up (<a href="https://superuser.com/questions/407334/how-can-i-see-a-visual-overlay-of-shortcut-keys-ive-pressed/1663049#1663049">SuperUser question</a>). In normal circumstances, I would have purchased one of the other solutions and carried on working on my other apps. For demoing <a href="https://charmstone.app/">Charmstone</a>, I was able to whip up <a href="https://apps.apple.com/us/app/modkey/id1567836564">Modkey</a> in its entirety in a couple hours, so it felt silly to even think of purchasing one of the other, quite expensive options. Modkey only displays modifier keys, but it gave me the motivation to build a version that emphasizes keyboard shortcut display. Here’s a quick screenshot of what <a href="https://keylimepie.app/">KeyLimePie</a> looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*kVDouPJeoWvMz1YoSTx2Nw.png" /></figure><p>In case you didn’t follow that SuperUser question link, here’s the driving features behind <a href="https://keylimepie.app/">KeyLimePie</a>:</p><ul><li>A free option (the watermark removal is a small one time in-app-purchase)</li><li>The ability to drag it to where I want</li><li>“Key” views that look fine in light and dark mode</li><li>Only show keyboard shortcuts by default, but optionally show all keystrokes (mainly to show modifier key presses)</li><li>Holding the modifier keys keeps the shortcut on the screen as long as I want.</li><li>Simplicity (I really just need to communicate shortcuts and don’t care for much else)</li><li>Mac App Store availability</li></ul><p>For the initial version, all of the settings are available just in the menu bar, rather than a preferences window. Ideally, I will keep it that way — the slimmer the better for these types of apps in my opinion.</p><p>One more thing. <a href="https://keylimepie.app/">KeyLimePie</a> also has a keyboard shortcut log view. If you’re in a live demo, this is useful in the scenario where viewers might not have caught the last shortcuts that you executed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*cHMHRTeoL55J6UFZCAQO_Q.png" /></figure><p>Sometimes, as a developer (or maybe a Rectangle user), it can be useful to see the keycodes and modifier bit codes that belong to a keyboard shortcut as well.</p><p>That’s it! Now I have no excuses to procrastinate making a demo video for Rectangle’s website…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87fbeb8ab153" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/demo-your-shortcut-keys-on-macos-87fbeb8ab153">Demo your shortcut keys on macOS</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A new take on cmd+tab & dock in macOS]]></title>
            <link>https://medium.com/ryan-hanson/a-new-take-on-cmd-tab-dock-in-macos-fd97b084a3e6?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/fd97b084a3e6</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[tabcmd]]></category>
            <category><![CDATA[dock]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Tue, 27 Apr 2021 15:42:44 GMT</pubDate>
            <atom:updated>2021-05-02T07:22:19.329Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*KAUT4X3hMlcADQa2sRFUmA.png" /></figure><p>When it comes to switching applications, there is no shortage of options to get the one you want in front of you. Before creating <a href="https://hookshot.app/">Hookshot</a>, I would have never thought about trying to add another solution to the mix. Using Hookshot has dramatically improved my window management experience, so I decided to try out the same concept with launching applications in <a href="https://charmstone.app/">Charmstone</a>.</p><p>Here’s a screenshot of the initial UI for it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*5JpJurSzJ5kXpBeQmrhHrw.png" /></figure><p>In <a href="https://charmstone.app/">Charmstone</a>, the flow is as follows:</p><ol><li>Press modifier key(s).</li><li>Move the cursor in a direction to select an app.</li><li>Release modifier key(s) to launch the app.</li></ol><p>During step 2, the icons for your configured apps will be displayed for your selection:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*DnXB0YdYNHdQWLgyKOyI5g.png" /></figure><p>This is basically just having a dock/cmd-tab-switcher that appears around your cursor when you press a key and move your cursor, except that the apps will be in the same location every time and there is minimal cursor travel distance for selecting an app. The result is dramatically faster app switching due to accessing spatial memory and ultimately not having to look for the app that you want (once you’ve got it down, and as long as it’s configured in Charmstone).</p><p>This might be a pretty small niche to fill with this app, but so far it’s fit in really nicely with my workflow — especially since I keep my dock hidden. I have plans for additional features like allowing it to be configured to do more than just launch apps, show apps on hover, and more.</p><p>Feel free to <a href="https://charmstone.app/">give it a try</a>! The up, down, left, and right positions are free, and you can unlock the corners for a small one time price. Also, it works nicely with <a href="https://hyperkey.app/">Hyperkey</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd97b084a3e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/a-new-take-on-cmd-tab-dock-in-macos-fd97b084a3e6">A new take on cmd+tab &amp; dock in macOS</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom window dimension shortcuts in macOS]]></title>
            <link>https://medium.com/ryan-hanson/custom-window-dimension-shortcuts-in-macos-e7df347dfd24?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/e7df347dfd24</guid>
            <category><![CDATA[window-management]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[window-manager]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Sat, 12 Dec 2020 21:17:11 GMT</pubDate>
            <atom:updated>2020-12-17T19:52:46.364Z</atom:updated>
            <content:encoded><![CDATA[<h3>Custom window dimension shortcuts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*WWftPvjP1NogCqPFQIKIsg.png" /></figure><p>One of the most common requests I have received for <a href="https://rectangleapp.com/">Rectangle</a> is the addition of shortcuts for more window dimensions that are not currently in the app. The preferences window for Rectangle is already pretty packed with shortcuts, and in my opinion, there is a limit to how many shortcuts are desirable in its current UI.</p><p>In <a href="https://hookshot.app/">Hookshot</a>, I went with a table view so that it isn’t quite so overwhelming to have more shortcuts. This frees Hookshot from a UI restriction on the quantity of shortcuts, but it removes an element of simplicity and immediate accessibility. It also breaks from a convention set by other window managers.</p><p>I spent a while thinking about a UI that could handle any window dimension that a user wants, and also allow the user to configure the subsequent dimensions when the shortcut is repeatedly pressed. Initially, I built this UI for Rectangle so that I could alleviate all of the window dimension requests I received at once. After building it, I felt like it just didn’t fit in Rectangle. The simplicity of Rectangle is, in my opinion, one of its best features.</p><p>While the main feature of Hookshot is also quite simple, there’s more depth to the app so this custom window dimension UI doesn’t feel out of place here. Let’s see how this custom dimension UI works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kQOy_buAHuD36odNCcFRxg.png" /></figure><ol><li>Go to the wrench &amp; ruler tab in the Hookshot preferences window.</li><li>Press the + button to add a new shortcut.</li><li>A new shortcut item is added in the table, and a popover is displayed for configuration. Here you can record your keyboard shortcut, select a docking position, and set window dimensions for the shortcut.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YvdSqTbm-x_vdY83QQrDQg.png" /></figure><p>The docking position selection should be pretty straightforward — top, bottom, corners, sides, center, etc. There’s also a “Custom” selection that lets you specify where the bottom left corner of the window should go.</p><p>The fields for entering width and height, or x/y coordinates of the window can take the following inputs:</p><p><strong>Fractions, decimal numbers, whole numbers, or blank</strong></p><ul><li>Inputs that are less than or equal to 1 will correspond to a percentage of the screen.</li><li>Inputs that are greater than 1 will correspond to pixel sizes.</li><li>Inputs that are left blank will correspond to keeping the current dimension.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TeqANuU5CzfWeIWmT3SHgw.png" /><figcaption>This shortcut will make the window leave a 10% screen width gap on the left and have a width of 50% the screen.</figcaption></figure><p>Last, let’s add window dimensions for repeated executions of the same shortcut. To do this, we simply hover the cursor over the configuration we want to add the next repetition, and click the + to bring up the same configuration popover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1XTs4dYioSkaGgjYgSSVtw.png" /></figure><p>The repeated executions will loop through each configuration in the order that they appear. Here’s an example of a vertical sixths configuration that will move the window 1/6 width and full height of the screen on each repeated shortcut press:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ms-9FSs4-so030XFF8rw0Q.png" /></figure><p>That’s it! Configuring custom window dimension shortcuts still takes a little bit of time and know-how, but to me it’s a pretty good tradeoff between configuration time and power over your windows. Give <a href="https://hookshot.app/">Hookshot</a> a try!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7df347dfd24" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/custom-window-dimension-shortcuts-in-macos-e7df347dfd24">Custom window dimension shortcuts in macOS</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why switch from Spectacle to Rectangle]]></title>
            <link>https://medium.com/ryan-hanson/why-switch-from-spectacle-to-rectangle-870b15969de2?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/870b15969de2</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[spectacles]]></category>
            <category><![CDATA[window-management]]></category>
            <category><![CDATA[rectangle]]></category>
            <category><![CDATA[window-manager]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Mon, 14 Sep 2020 14:16:17 GMT</pubDate>
            <atom:updated>2023-06-29T17:34:32.505Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*9cf5N380PDdkgSBuSrFKTA.png" /></figure><p>In every single post I’ve seen where someone asks which apps they should install on their new mac, one of the first suggestions is a window manager. Rectangle is increasingly mentioned (thanks!), but I still see Spectacle users that say they have no reason to switch. If Spectacle does it for you, that’s awesome — it’s a great app, but there are some concrete reasons to go with Rectangle, even outside of a direct feature comparison.</p><h4>Apple Silicon</h4><p>As of v0.38, Rectangle is available as a universal binary that runs on both Intel and Apple Silicon. Currently the only way to get Spectacle running on Apple Silicon without Rosetta is to compile the app yourself. Even if someone else took up the torch and released and hosted a universal binary of Spectacle, the odds of bugs getting fixed in Rectangle are higher since it’s written in Swift.</p><h4>Notarization (Security)</h4><p>Spectacle stopped being maintained before Apple started enforcing <a href="https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution">app notarization</a>. Notarization is how you know that the app you’ve downloaded is the one that I’ve notarized with my developer id and without malware as long as you get it from the <a href="https://github.com/rxhanson/Rectangle/releases">GitHub</a> repo (rectangleapp.com downloads also point to GitHub). It is not likely that you’re going to go download a malware infested version of Spectacle from an unofficial source, but if somehow you did end up with one then there is a lot of damage that could be done. In order for a window manager app to work on macOS, you need to give that app accessibility privileges. Among other things, an app with accessibility privileges has the potential to log keystrokes.</p><h4>Features</h4><p>Rectangle has all but a handful obscure pieces of functionality in Spectacle, and is as close as you’re going to get to a drop-in replacement.</p><p>I purposely keep Rectangle really slim on features. At this point, I typically only let in features that are transparent to users unless they seek them out, which is why a lot of features are toggled via command line. I have also only added features requested by a lot of users. The main feature that is in Rectangle but not Spectacle is dragging windows to screen edges to snap them. Feel free to comb through the <a href="https://github.com/rxhanson/Rectangle">readme</a> for more.</p><h4>Try it out!</h4><p>Spectacle’s an awesome app that I’m lucky to be following the footsteps of with Rectangle. Give <a href="https://rectanglemac.app/">Rectangle</a> a try, it’s free!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=870b15969de2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/why-switch-from-spectacle-to-rectangle-870b15969de2">Why switch from Spectacle to Rectangle</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One finger trackpad scrolling on macOS]]></title>
            <link>https://medium.com/ryan-hanson/one-finger-trackpad-scrolling-on-macos-1bda20cc0c6c?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/1bda20cc0c6c</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[magic-trackpad]]></category>
            <category><![CDATA[scroll]]></category>
            <category><![CDATA[trackpad]]></category>
            <category><![CDATA[scrolling]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Sun, 02 Aug 2020 21:45:45 GMT</pubDate>
            <atom:updated>2020-11-25T22:04:15.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*1TEzv0Do6S1XwozqC_3ZQg.png" /></figure><p>A while back, I created a free app called Scroll to allow users to scroll with just one finger on an Apple trackpad. The first iteration of the app was really slim, and was really just aimed to solve an <a href="https://superuser.com/questions/666035/one-finger-scrolling-on-a-macbook-touchpad/1433370?noredirect=1#comment2389901_1433370">accessibility issue</a> for people that were unable to use two fingers easily to scroll. I received a lot of feedback for the app, and surprising to me, a lot of the feedback came from users that did not have any impediments to using two fingers for scrolling. I finally got a chance to work through a lot of the suggestions that I received and created <a href="https://ryanhanson.dev/scroll">Scroll 2</a>. This version of the app is no longer free, but it carries dramatic improvements over the first version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*9zH3RLJP_LelizgNBxV2Zw.png" /></figure><p>Version 2 has the same trackpad actions available, but there’s some key differences, most of which you can tell from the screenshot of the new UI.</p><ul><li>In version 1, Scroll had to be the frontmost application to keep the cursor from moving, which means you’d get a really distracting loss of focus in the window being scrolled. This is no longer the case in version 2.</li><li>Modifier keys combinations can be easily set for any of the gestures.</li><li>Direction of scrolling can be set for any of the gestures.</li><li>Scroll speed can be adjusted.</li><li>The gestures that involve touch movement now have inertia scrolling!</li><li>Gestures can be disabled per application, via the menu bar.</li></ul><h4>Keep your fingers on the home row while you scroll</h4><p>When I created the first version of Scroll, I didn’t think about potentially using it to scroll comfortably while keeping your fingers on the home row of the keyboard. If you’re on a MacBook or MacBook Pro, then your trackpad is already in the right place to use “One Touch Scroll with Modifier Keys” for this. I typically use my left thumb on the command key and scroll with my right thumb. It’s been a really nice workflow improvement for me.</p><h4>Limiting Magic Mouse horizontal scroll</h4><p>Another addition to <a href="https://ryanhanson.dev/scroll">Scroll 2</a> is the ability to limit or disable scrolling on the Magic Mouse. It’s been a surprisingly common request for me, and you can check out my <a href="https://medium.com/ryan-hanson/how-to-disable-magic-mouse-horizontal-scroll-6151b90f8f1e">other post</a> on Scroll 2 for more details.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bda20cc0c6c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/one-finger-trackpad-scrolling-on-macos-1bda20cc0c6c">One finger trackpad scrolling on macOS</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Disable horizontal scroll on the Magic Mouse]]></title>
            <link>https://medium.com/ryan-hanson/how-to-disable-magic-mouse-horizontal-scroll-6151b90f8f1e?source=rss----9bab8adb9312---4</link>
            <guid isPermaLink="false">https://medium.com/p/6151b90f8f1e</guid>
            <category><![CDATA[horizontal-scrolling]]></category>
            <category><![CDATA[magic-mouse]]></category>
            <category><![CDATA[magic-mouse-2]]></category>
            <category><![CDATA[horizontal-scroll]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Ryan Hanson]]></dc:creator>
            <pubDate>Wed, 15 Jul 2020 19:51:46 GMT</pubDate>
            <atom:updated>2020-11-25T22:03:07.321Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*1TEzv0Do6S1XwozqC_3ZQg.png" /></figure><p>The Magic Mouse is awesome, but some apps are overly sensitive to its horizontal scroll — to the point where it’s kinda unusable. My latest iteration of the <a href="https://ryanhanson.dev/scroll">Scroll</a> app aims to solve this problem in a simple way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*QNpVB1jtekof6LQbn1EZBA.png" /></figure><p>In the Magic Mouse tab of the <a href="https://ryanhanson.dev/scroll">Scroll</a> app, you have the ability to</p><ul><li>Disable horizontal scroll</li><li>Disable vertical scroll</li><li>Select an area on the lower area of the Magic Mouse where scrolling will be allowed.</li></ul><h4>Disable or enable per frontmost application</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*Q2ZVG8E-NSnOuzyRWMq_TQ.png" /></figure><p>You can also manage which apps have Magic Mouse horizontal scroll disabled from the app’s menu in the menu bar.</p><p>There is some complexity worth noting here: If you have “Disable horizontal scroll” checked in the prefs window, then every single app will have that menu item checked in the menu bar by default. Conversely, if “Disable horizontal scroll” is unchecked in the prefs window, then you can specify only the apps you want to ignore horizontal scroll for in the menu bar. The scroll area defined in the prefs window will still be reflected for apps where horizontal scroll is disabled using the menu bar.</p><p>That’s it! I hope it’s a simple tool for a simple task.</p><p>There’s also some dramatic changes to the Scroll app for one touch trackpad scrolling over it’s initial version 1, but that’s a topic for <a href="https://medium.com/ryan-hanson/one-finger-trackpad-scrolling-on-macos-1bda20cc0c6c">another post</a>.</p><h4>Some background for those interested</h4><p>By popular demand, I had added a checkbox in my <a href="https://multitouch.app/">Multitouch</a> app for disabling horizontal scroll a long time ago. This checkbox will remove horizontal scroll entirely for all Apple devices. Having more fine tuned control over horizontal scroll was a feature that I really wanted to add to Multitouch, but it just feels more at home in an app dedicated to scroll functionality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6151b90f8f1e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ryan-hanson/how-to-disable-magic-mouse-horizontal-scroll-6151b90f8f1e">Disable horizontal scroll on the Magic Mouse</a> was originally published in <a href="https://medium.com/ryan-hanson">Ryan Hanson</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>