I want to be able to drag files onto a droplet and open in QuickTime and mute each file as it opens. Right now everything works except the only file that gets muted is the foremost window.
on open the_Droppings
tell application "QuickTime Player 7" to activate
tell application "QuickTime Player 7" to open the_Droppings
tell application "System Events" to tell process "QuickTime Player 7"
repeat with w in (get every window)
tell window "QuickTime Player 7"
keystroke (ASCII character 31) using {command down, option down}
end tell
end repeat
end tell
end open