Giving iTunes commands without it having to be seen

I understand that iTunes has to be open to receive commands, but I was wondering how I can make it never seen. For example, at the moment my script knows when the iTunes window will pop up and sets its visible to false, but this creates an annoying split second flash of the screen that I want to get rid of. Is there any way to make it so iTunes will not pop up in the first place?


Didn’t you already ask this?