Remove app from task bar

I have a Plain Box window that I don’t want to show in the task bar when open. How can I accomplish this?

I think I found a solution.

Still testing, but this looks promising.

I did not test it again in Wndows 10, but at the time, I made sure it worked under Windows 8.1.