the interact with target cannot be assigned to a macro. However you can keybind it so if you make "g" your IwT keybind you would run above macro on say keybind "f" and press f, then g. That's what I do anyway.