So, here is the story... I listen to my iTunes all the time... When My macbook is at my desk, its plugged into my Creative 2.1 system. when im at my bed, or out and about, I use the laptop speakers, and depending on the other places I am, I use headphones. I have the itunes EQ tuned for my 2.1 speakers, and use small speakers default for the laptop, and usually just rock for my headphones. I got sick of opening itunes, then the EQ window to change it, so I wrote a quick applescript... What I was thinking of, is to write a script that, when something is plugged into or unplugged from the headphone jack, call up my EQ changing script. The thing is, I am not sure where to get the state from. any help?
you can find the script I wrote at
http://eovnu87435ds.pastebay.org/9834