<div dir="ltr">On 3 September 2013 07:04, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 9/2/2013 1:36 PM, H. S. Teoh wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It's things like this "keyhole interface", that caused me to be<br>
convinced that the GUI emperor has no clothes, and to turn to CLI-only<br>
development.<br>
</blockquote>
<br></div>
One of the giant failures of the GUI interface, and that VS suffers from, too, is when you need to do repetitive operations.<br>
<br>
On the CLI, I constantly use the history list, and I constantly write throwaway scripts to automate what I'm doing at the moment. It makes everything I do, no matter how obscure, only 2 or 3 keypresses.<br>
<br>
With VS, or any GUI, if there's not a button to do it, I'm reduced to:<br>
<br>
move mouse<br>
click<br>
move mouse<br>
click<br>
move mouse<br>
type<br>
move mouse<br>
click<br>
type<br>
<br>
to get something done. And if I want to do it again, I have to repeat that process. After the 10th time, it's gaaaaahhh I hate it and go back to the CLI.<br>
<br>
I scan a lot of photos. I have a GUI photo editor. A common thing I do is straighten the photos, because they never go through the scanner straight. So it's:<br>
<br>
right shift click on the picture<br>
select open with<br>
select photoeditor<br>
select edit<br>
select rotate<br>
select autorotate<br>
select apply<br>
select save<br>
select exit<br>
<br>
Sounds easy, right? It is easy. Now do it to 1000 photos. With a command line tool:<br>
<br>
write a script that does it to one picture, name it cc.bat<br>
<br>
do:<br>
   dir/b *.jpg >doit.bat<br>
<br>
open the file and use the macro feature to prepend "cc " to each file name, maybe 10 keystrokes<br>
<br>
execute the script<br>
<br>
Done! And CLI Clint goes and surfs the n.g. while GUI Gus has just gotten to picture 4, only 996 more to go!<br></blockquote><div> </div></div></div><div class="gmail_extra">Visual studio has macros. Ctrl-Shift-R, do your repetitive task, Ctrl-Shift-R, then hit Ctrl-P and it'll repeat what you did as many times as you like.</div>
<div class="gmail_extra">I use this all the time. I barely touch the mouse in VS, and GUI isn't very good.</div></div>