Can you get banned for this

Can you get banned for using a macro in game for muting chat? i have had one for about 2 months now and its really helpful. also can you get banned for macro for spamming an ability. like for an example i am playing urf and i get udyr and i decide that i want to go full move speed and make a macro so i dont have to keep spamming E i can just focus clicking and my finger wont get tired?
Report as:
Offensive Spam Harassment Incorrect Board