This script works:
tell application "QuickTime Player"
set sound volume of document 1 to 0
end tell
This does not:
set QT to application ("Quicktime Player")
tell QT
set sound volume of document 1 to 0
end tell
It tells me "the variable volume is not defined" I seem to be overlooking some fundamental rule of AppleScript syntax. Can somebody explain to me what the problem is?
Mike
Start Free Trial