Viktor Strate Kløvedal

Projects tagged MacOS

Browse all tags

MacOS Touch Bar in the Browser

Posted on April 8, 2022

Some Macbook Pro models come with the notorious Touch Bar that Apple quickly abandoned again. After having had such a model for a while now, I have a hard time finding practical use cases for it. One of the reasons why it is not that useful is that apps and the system do not take enough advantage of it.

But then I got an idea that would actually make it useful for me. I wanted to build a browser add-on that allows the native Touch Bar to communicate with websites to let buttons and other Touch Bar controls perform actions on them.

Continue Reading →

Color Picker Plus

Posted on June 13, 2018

Color Picker Plus is an extension to the macOS Colors panel.

I have always thought that Apple’s color picker window is quite bad for picking precise colors, especially for working with colors on the web.

I do though like the way the color picker in Photoshop works, where the color is sampled from a color square with brightness and saturation along its width and height. I wanted to mimic that while also making it easy to copy and paste colors from HEX or RGB.

Fortunately, MacOS supports plugins for the color picker window. When a color plugin is installed, a new icon appears in the toolbar.

But at the time, I couldn’t find any good color picker extensions. The only one I could find was a very basic and old one called Hex Color Picker, for making colors directly from HEX values.

So making a better one was a great excuse to learn more about how such extensions actually work.