--say "window"
tell application "System Events"
tell process "Adobe Illustrator"
--beep
set frontmost to true
my do_submenu("Adobe Illustrator", "Window", "Tools", "Default")
set Sizes1 to size of every window
my do_submenu("Adobe Illustrator", "Window", "Tools", "Default")
set Sizes2 to size of every window
--beep
if length of Sizes1 is greater than length of Sizes2 then
set TheSize to item 1 of my RemoveComonList(Sizes1, Sizes2)
else
set TheSize to item 1 of my RemoveComonList(Sizes2, Sizes1)
end if
--beep
set TOOLS to every window whose size is TheSize
if TOOLS is {} then
my do_submenu("Adobe Illustrator", "Window", "Tools", "Default")
set TOOLS to every window whose size is TheSize
end if
--beep
tell item 1 of TOOLS
set WindowPosition to position
set item 1 of WindowPosition to (item 1 of WindowPosition) + (item 1 of clicker)
set item 2 of WindowPosition to (item 2 of WindowPosition) + (item 2 of clicker)
get WindowPosition
end tell