Want an applescript droplet that opens files in QuickTime and mutes them all. The script only mutes the front most opened file.
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"
keystroke (ASCII character 31) using {command down, option down}
end tell
end open
Here is the way I got it to work.
on open the_Droppings
activate application "QuickTime Player 7"
repeat with oneDrop in the_Droppings
tell application "QuickTime Player 7"
open oneDrop
set sound volume of document 1 to 0
end tell
end repeat
end open