获取app窗口所有控件
tell application "System Events" tell application "企业微信" activate tell application "System Events" tell process "企业微信" get entire contents of window 1 end tell end tell end tell end tell