Skip to content

Instantly share code, notes, and snippets.

@songxing10000
Created September 13, 2017 16:05
Show Gist options
  • Save songxing10000/d70530a3c33e17ee798a642793a6f986 to your computer and use it in GitHub Desktop.
Save songxing10000/d70530a3c33e17ee798a642793a6f986 to your computer and use it in GitHub Desktop.
获取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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment