Macro's and Scripts are two different things for me.
Macro is something simple that records key and mouse movements, it isn't programed to read and interact with the game automatically, it requires players to activate and it doesn't do anything outside it's recorded parameters.
Scripts are written out in the assembly language and can be completely automated based on parameters from the game without player input.
But if you want to call both those things macros that's fine. I know AHK kind of blurs the line because you can do anything from very simple recorded macro's to writing your own scripts and automating actions based on parameters AHK detects from the game.