controlling the itunes visualizer

I know it’s possible to get info about the visualizers available in itunes with
tell application “iTunes” to visuals
tell application “iTunes” to visual “iTunes Visualizer”
but is it possible to activate or deactivate the visuals with using ui scripting?

To output full list of visualizers:

tell application "iTunes" to visuals

To output currently selected visualizer:

tell application "iTunes" to current visual

To change currently selected visualizer:

tell application "iTunes"
    set current visual to visual id [b]XXX[/b] of application "iTunes"
end tell

where XXX - ID of iTunes visualizer:
25 - iTunes Visualizer;
26 - iTunes Classic Visualizer;
110 - Lathe
111 - Jelly
112 - Stix
[for iTunes 8.2.1 (6)]

To show visualizer:

tell application "iTunes" to activate
tell application "System Events" to keystroke "t" using command down


tell application "iTunes"
    set visuals enabled to true
end tell

To activate fullscreen mode for visualizer:

tell application "iTunes"
    set full screen to true
end tell

Hope this will help…