BetterTouchTool icon

BetterTouchTool is a great app. Many of you already know about it and I would probably never be able to explain how many uses it has.

Basically, it’s an automation app, that let’s you take any input device in your mac (keyboard keys, mouse or trackpad gestures, Touch Bar, Stream Deck, etc) and turn it into a trigger to run a miriad of different actions.

I mainly use it to turn my Caps Lock key into a Hyper Key that runs simultaneously all modifier keys (⇧ ⌃ ⌥ ⌘) and then pair it with a letter to run many different things.

For example, I use the Hyper Key plus the J, K, L and I keys to simulate the left, down, right and up arrows, just like A, W, S and D. That way I move my hands very little around the keyboard.

Possibilities are endless, though.

And now, with version 4.063, it has brought a wonderful action: BTT can run ChatGPT with two new actions: Transform & Replace Selection With ChatGPT and Reset ChatGPT History.

BetterTouchTool ChatGPT actions

This is how it works: you select a trigger (I chose HyperKey + C) and give it the Transform & Replace Selection With ChatGPT action. You can select the option to Always ask what to do everytime when executing, which I found the most convenient, since you can then prompt the action to transform or summarize the select text. You can also set your own OpenAI API key or let BTT use its own.

Then, in any text processor (TextEdit, Typora, BBEdit, MS Word…) you select a text, run the trigger, tell the action what to do with the selected text and let BTT and ChatGPT do the work.

BTT promptThis is, in Spanish, a text I fed to the BTT action:

Así que, Sancho, por lo que yo quiero a Dulcinea del Toboso, tanto vale como la más alta princesa de la tierra. Sí, que no todos los poetas que alaban damas, debajo de un nombre que ellos a su albedrío les ponen, es verdad que las tienen. ¿Piensas tú que las Amariles, las Filis, las Silvias, las Dianas, las Galateas, las Alidas y otras tales de que los libros, los romances, las tiendas de los barberos, los teatros de las comedias, están llenos, fueron verdaderamente damas de carne y hueso, y de aquéllos que las celebran y celebraron?
No, por cierto, sino que las más se las fingen, por dar sujeto a sus versos y porque los tengan por enamorados y por hombres que tienen valor para serlo. Y así, bástame a mí pensar y creer que la buena de Aldonza Lorenzo es hermosa y honesta; y en lo del linaje importa poco, que no han de ir a hacer la información de él para darle algún hábito, y yo me hago cuenta que es la más alta princesa del mundo.
Porque has de saber, Sancho, si no lo sabes, que dos cosas solas incitan a amar más que otras, que son la mucha hermosura y la buena fama; y estas dos cosas se hallan consumadamente en Dulcinea, porque en ser hermosa ninguna le iguala, y en la buena fama, pocas le llegan. Y para concluir con todo, yo imagino que todo lo que digo es así, sin que sobre ni falte nada; y píntala en mi imaginación como la deseo, así en la belleza como en la principalidad, y ni la llega Elena, ni la alcanza Lucrecia, ni otra alguna de las famosas mujeres de las edades pretéritas, griega, bárbara o latina.
Y diga cada uno lo que quisiere; que si por esto fuere reprehendido de los ignorantes, no seré castigado de los rigurosos.

An this is the summary it just gave me:

Don Quijote le explica a Sancho que para él, Dulcinea del Toboso es tan valiosa como la más alta princesa de la tierra y que muchos poetas inventan nombres de mujeres para sus poemas sin realmente conocerlas. Él cree que Dulcinea es hermosa y respetable, y que su belleza y buena reputación son las razones por las que la ama. A Don Quijote no le importa el linaje de Dulcinea y la considera la mujer más hermosa y noble del mundo, incluso por encima de mujeres famosas de la historia. Don Quijote sabe que algunos lo criticarán por su punto de vista, pero no le importa.

Which, translated to English using the very same action, goes like this:

Don Quijote explains to Sancho that for him, Dulcinea del Toboso is as valuable as the highest princess on earth, and that many poets invent names of women for their poems without really knowing them. He believes Dulcinea is beautiful and respectable, and that her beauty and good reputation are the reasons why he loves her. Don Quijote doesn’t care about Dulcinea’s lineage and considers her the most beautiful and noble woman in the world, even above famous women from history. Don Quijote knows that some will criticize him for his point of view, but he doesn’t care.

This, believe me, is darn good. I think we are going to have fun with BetterTouchTool and ChatGPT.

BTW, BetterTouchTool is available via a SetApp subscription.