Jagex can easily catch Macroing due to Client User Agents that show same actions happening which throw them a code and then they research it. They can retrace the stuff you do on RuneScape. Same exact clicks from tree-to-tree to banks.
It's like me telling you that you are using Google Chrome (v.68.0.3440.106) on Windows 10. They can see anything.