The only way to remove static effectively throughout the painting process is to use ionised air.
As the static forms in positive and negative charge, the positive and negative ions produced from the Stat-Gun neutralise the charge (positive neutralises negative & vice versa).