Here's a quick tutorial on how to get to writing or entering macros in Visual Studio.
Creating:
Running (several options)
>Macros.MyMacros.Module1.MyNiftyMacro
>File.OpenFile c:\windows\setuplog.txt Why did anybody ever decide to implement this? I really don't know the answer to that, but I do know it happened long ago and is something command-line addicts refuse to give up. My theory is that it was the original software anomaly that coined the phrase 'That's not a bug, it's a feature!' (just kidding... I think...)
>File.OpenFile c:\windows\setuplog.txt
Why did anybody ever decide to implement this? I really don't know the answer to that, but I do know it happened long ago and is something command-line addicts refuse to give up. My theory is that it was the original software anomaly that coined the phrase 'That's not a bug, it's a feature!' (just kidding... I think...)
Adding to Menus and Context Menus
Binding a macro to a keystroke
Note that by default the keystroke will be bound globally. Some keystroke combinations can be made to be active only in certain contexts. Peruse help for more information about this.