ulrik@kaizer.se/ log/ post/
Composed commands

Kupfer version c19 adds a feature called Compose Command.

This is something clever from Quicksilver, that I suspect even many of its avid users don't know about.

What is Compose Command? It is a sort of higher-order use of Kupfer, let me explain: A normal command that you carry out in Kupfer is normally an object and an action, for example the combination (Documents, Open):

Now imagine we want this command to be an object of itself. In Kupfer, we press Control+Return to invoke Compose Command.

There, we created an object from the command -- and we are offered the possibility to run it right away. Which of course, you say, adds nothing. What can come out of this? We can now perform actions with the very command object itself:

The Kupfer action Run after Delay... understands a time interval that you can specify like "10 sec", "1 h 15 min", "6 m" etc.

You can create a composed command like this from any Object and an Action, or any Object, an Action and an Indirect (Secondary) Object.

One useful example of what you can do is to create a quick reminder, by telling Kupfer to show text very large over the screen in just a while:

Please stand by six minutes... Aand we have a message across the screen:

(Goes away with the tap of a key)

This may not seem much, but it is a nice display of what can be done with Kupfer right now, and what can be implemented in the future. And I think people can come up with very useful things they can do with delayed commands. Perhaps you can come up with something completely new in the domain of higher-order use of Kupfer?

It is also just one of the new features of Kupfer, I should try to blog more about this in the future.

Comments to @englabenny on twitter or @kaizer on identi.ca!