Snippery 1.1: Shell Mode Improvements

Shell Mode icon for SnipperyShell Mode is one of Snippery’s most powerful features: you not only can execute practically any of the available Unix commands on OS X, but also create scripts to automate their execution and, of course, create a new snippet from the resulting output.

Now, with Snippery 1.1, you’ll find some nice improvements. Probably the most important one are the new added commands that you can use in new automation scripts.

For instance, you’ll be able to use the {refresh:’time’} command, where ‘time’ is the amount of time expressed as milliseconds. Use this command when interacting with a Shell command that requires user input interaction, as when dealing with a SSH login session in automation mode.

Shell Automated Script Editor


Also has been added a new command so now it is possible to set a waiting time before the execution of the next queued command. Use {wait:time}, where ‘time’ is the amount of time expressed as milliseconds.

With Snippery 1.1 it will also be possible to create a snippet directly from a script using {doCreate}. When found, this command also closes the Shell window once the Snippet has been created. You can use this command as the last step in an automated script, for instance. This way all the process can be executed without needing the user intervention.

Other of the new added commands is {clear}. It clears the output area when executed from the Shell Window input field or as a step from an automation script.

Also related with the automation scripts, and a very important thing!, I finally improved the Shell Mode output text area performance during the execution of automation scripts. This is especially relevant with long text outputs.

From Shell to the Clipboard!

Finally the Shell Mode Window includes a new “Clip to clipboard” button, so you can get all the Shell output directly available from the System Clipboard to ease pasting it into any application you want. In this case, it is important to note that a new snippet will not be created.

Shell Mode Window in Snippery

It’s also important to note that the Locking feature will not be into place during the execution of an automated script. This has been a design decision difficult to make (probably revisited in a future Snippery release where, I expect, you will be able to run faceless Shell automated scripts).

Javier Rodriguez

Consultor, desarrollador y formador con más de 25 años de experiencia. Reconocido experto en el mundo Apple, autor de varios libros sobre tecnología. Si tienes un proyecto o necesitas ayuda, ¡ponte en contacto conmigo!

Etiquetado con:

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *