muting iTunes

this simple command does not seem to work for me…
running mac os x 10.5.1
iTunes 7.6

tell application "iTunes"
			set mute to not mute
		end tell

this did’nt work as well

tell application "iTunes"
			set mute to (not mute)
		end tell

Any ideas?

I used to know an apple event to do it - it was like «event aev mute» or something like that and it worked prime but i no longer remember what is was :frowning:

Hi Hendo,

in many of these cases (getting and setting a property in the same line) the keyword get helps

tell application "iTunes" to set mute to not (get mute)

works great! thanks :smiley: