I can’t tell you exactly what will get you banned and neither will Blizzard. They don’t make that software and won’t ever approve of anything they don’t personally control.
The only information you will get is https://us.battle.net/support/en/article/24258
Multiboxing, or playing multiple World of Warcraft accounts at once, is not a violation of our End User License Agreement. Please note, however, that use of all software or hardware mechanisms used to mirror commands to multiple World of Warcraft accounts at the same time, or to automate or streamline multiboxing in any way may result in account penalties.
For more information on our stance about input broadcasting software, see our official forum post.
What you are talking about is streamling it - making it easier using outside software. I personally would not do that.