Interoperability Between the GUI and the CLI?
shylock0 asks: "I use AutoCAD pretty extensively, and one of the things I've always loved about it is the fact that, in addition to having a GUI, it has a really great command line -- which you access simply by starting to type, and which will actually work alongside your mouse. CAD lends itself to this duality, mainly because its nice to be able to deal with the overall work visually, but be able to specify dimensions exactly. Having to use the mouse to click on a separate dimensioning tool-box for every element you create wastes a substantial amount of time. You can even use mouse and keyboard side-by-side, without clicking yourself into a different environment -- for instance, if you have selected an element, and are using the mouse to rotate it, starting to type commands to resize the object doesn't stop the mouse from being in rotation mode. Such functionality would allow complex tasks -- beyond just opening, saving, and so forth -- using direct keyboard input, but would work in the context of the GUI. For instance, it would be great if I could copy files from an open window just by starting to type 'copy'. What other apps, both commercial and free, still have an easy-to-enter command-line style element?"
"This seems to me to be a feature that would be great to have, particularly in operating systems and productivity apps. Once you get the hang of the commands, and assuming you can type quickly, keyboard input is actually faster than using the mouse. In AutoCAD, I can design an entire house using just the keyboard. How much productivity has been lost by the decline of keyboard use beyond simple shortcuts?"
The symbolics Lisp Machine user interface was based around this. For an impression of it looked like and worked, look at this movie. CLIM is available for the two major commercial Lisp implementations from Franz, Inc. and Xanalys; there is also a free implementation in the works. Here are some relevant links.
Programming can be fun again. Film at 11.
Also, somewhat more directly in response to the question posed by the article, Konqueror can embed Konsole (the KDE terminal emulator) in a frame. When you switch directories in KDE's file browser, the terminal automatically does a "cd" to the new location. I've found this useful from time to time, although generally dragging and dropping directories or files from Konqueror to a separate Konsole instance has worked well for me.
And the syntax for command-line control of KDE apps looks roughly like this (shooting from the hip, since I'm not near a KDE-running system at the moment):
dcop KScreensaverIface lock
(This would lock your screen, probably one of the more useful actions to be able to script.)
I metamoderate all Redundant and Offtopic moderations as Unfair.
AppleScript has a nice functionality.
You start Script Editor, hit Record, then do your tasks, and whoops, a complete script... It won't be a button but well a menu item. The button can probably be gotten from some shareware.
Granted the target application must support it, and it's sadly very uncommon.
There used to be a shareware utility (probably spawned by the AppleScript functionality) that didn't have the support limitation, it tracked the mouse and keyboard events, which is somewhat weaker though as the setup must be exactly the same for it to work. Not sure if it has been ported to OS X or anywhere else, can't remember the name sorry.