1code
Versione italiana
1code is a small utility that installs itself in the System Status Bar (the rightmost part of the menu bar). Through an easily accessible menu, it provides a way to type-in 1-line Terminal or AppleScript commands, without the need to open the Terminal application or ScriptEditor.
The menu
1code menu is identified by this icon:

Click on it, and a menu appears. Here you have the following choices:
- Terminal command: bring to front a window where you can type a 1-line Terminal command and watch the results (if any);
- AppleScript command: bring to front a window where you can type a 1-line AppleScript command;
- look at the about box;
- show the help page;
- quit 1-code.
This is the window where you can type Terminal or AppleScript commands:

With the pop-up button you choose between Terminal and AppleScript commands, that you type in the text field and execute by pressing "Enter" or "Return" keys or by clicking on the Run button. The Results button opens or closes the drawer at the bottom, that shows the results (if any) of the last command you executed. The History button opens or closes a drawer on the right, with a list of the last 20 commands you executed (the lists for Terminal and AppleScript commands are independent); clicking on one of them copies it in the text field.
In the Bookmarks table you can store your favourite commands (again, two lists are kept for Terminal and AppleScript commands): with the + button you add the command in the text field to the bookmarks, with the - button you delete the selected command from the bookmarks list and with the ^ button you copy the selected command from the bookmarks to the text field.
That's all!
Credits
Code, Icon and Graphics by Marco Coïsson
Download
Download 1code
License
1code is freeware. You can use it and distribute it freely, even on the Internet or on CD-ROMs or DVDs attached to magazines. You cannot sell it or earn money from it without my written permission. You cannot distribute 1code if it has been modified, even in its resources or in its documentation.
Developing software costs time and money; you can find on my home page the details of my PayPal account in case you would like to consider donating me some money.
Thank you for using 1code!
Back to my homepage