I'm new to macro programming, but this one macro would help me a lot.
I would like to take the current selection and pass it to a shell command. The command will generate a list of files, which I would like to go to the build window. Then I would like to be able to click on the list and edit the selected file.
I have looked at the examples on this board, but they seem don't seem to be working for me. Here's what I have so far:
#include "slick.sh"
_command code_search() name_info(','VSARG2_MACRO|VSARG2_MARK|VSARG2_REQUIRES_MDI_EDITORCTL)
{
_str text = 'Some text I would like to be my selection';
activate_build ();
_str cmdline="my_shell_command " :+ text;
concur_command (cmdline, false, true, false, false);
}
Thanks for the help