//debugger;
osascript -l JavaScript -i
// the entireContents() command will return every UIElement within an app‘s user interface hierarchy ProcessAbc.windows[0].entireContents();
20160220 - JavaScript for OS X Automation 调试技巧
原文:http://www.cnblogs.com/likun/p/5203980.html