Let my fingerprint types password again

Maybe you don’t know my pain for password typing, even when I got a Mac with TouchID (http://www.martinpham.com/why-i-still-have-to-type-password-apple/). Well, but now it’s the past! I’m happy to update my pet – ZUnlocker to new version, with ability to type password anywhere with TouchID


Simple like it was, it will add itself to Control Strip area

First, you will need to config your password by click ZUnlocker menu, and choose Set Password

The password will be encrypted carefully and saved on your Mac.

Now every time you want to type your password, just tap the Fingerprint icon on Control Strip

Mac will ask for your fingerprint, and when you touch the correct finger, password will be typed automatically.

Yay, let’s forget the password again 🙂

Let’s replace the Apple’s default Touch Bar

As mentioned (http://www.martinpham.com/tunesbar-control-itunes-with-menu-bar-and-touch-bar/), I’m so happy with new Touch Bar right now.  Now I can rate songs, see song’s name, control iTunes, and also change volume, brightness right on my Touch Bar, just 1 step, no-submenu-no-shit.

But soon I realized, I don’t have an Esc button!

Well, it’s a bit stupid when you don’t have Esc button. Although you can still call it with Fn button

But non ha senso! 

I decided to do some more reverse engineerings into Apple’s stuffs, and nothing about Display the Esc button on Touch Bar, instead of the sick-(x)-button.

But .. Hey, since the default Touch Bar layout sucks. Totally useless buttons on the left side (App Control), and limited buttons on the right side (Control Strip), I swear you will never bother with App Control buttons. So Why not redesign ALL the Touchbar layout?

I quickly found an interesting API
+ (void)presentSystemModalFunctionBar: (id)arg1 placement: (long long)arg2 systemTrayItemIdentifier: (id)arg3;

With placement = 0, your Touch Bar will live along with others. But with placement = 1, guess? Your Touch Bar replace everything and become the only view! Like only you on this planet 😉


My Esc button came back!! ♥️♥️♥️

But of course, I don’t want to miss the Touch Bar of other apps (TouchBar Piano is one of my favorite). Well, I’m gonna add app filter, so my new awesome Touch Bar only shows on whitelisted apps.

Updated 2017/07/24: Changed the ugly slider button


TunesBar – Control iTunes with Menu bar and Touch bar

I hate to switch to iTunes every time, repeat, repeat,… just to rate a song, or to know wtf is being played, bla bla…

Well, since I was having some research about TouchBar API, I decided to swim in those things a couple of hours. Solve the iTunes’s annoyances and learn something new, one shot to two birds, hah!

Then .. here we are, let me introduce my new pet: TunesBar!

Since I’d like to control it everywhere, means the Touchbar should be always visible. Ah-hem, we need some dirty jobs here – si chiama Private API.

Playing with private API is always fun, like you are eating a secret pizza that nobody knows about this 🙂


Why I still have to type password, Apple?

To be clear, I’m a lazy man, a fucking lazy pig, who doesn’t want to type password at all.

Remember when Apple introduced TouchID for iPhone, I was so excited! (I’m too lazy to type a 4-PIN code)

And even more exciting when they bring it into a Macbook. Finally, the password asking dialog nightmare ends!!

But.. No!

And even in Apple’s stuffs