代码如下
tell application "Finder" to activate
tell application "System Events" to keystroke "h" using {command down, option down}
tell application "Finder" to activate
tell application "System Events" to keystroke "m" using {command down, option down}