Below is my macro I want to use to find dead/static code. I get the selection correctly and can even copy to the clipboard (not that I need too), but I just can't get the selection to a variable for my multi-file find
_command tb() name_info(','VSARG2_MACRO|VSARG2_MARK|VSARG2_READ_ONLY|VSARG2_REQUIRES_MDI_EDITORCTL)
{
_macro('R',1);
next_word();
deselect();
_select_char('','E');
next_word();
cursor_right();
select_it('CHAR','','E');
_str sel = "gForcePage";
save_selection( sel ); "Does not do anything"
copy_to_clipboard();
_mffind2( sel,'','<Project>',
'*.c;*.cc;*.cpp;*.cp;*.cxx;*.h;*.hh;*.hpp;*.hxx;*.inl;*.xpm','','96',
'3');
}