Is that possible to use applescript to detect GUI truncation issue?
Is that possible to use applescript to detect GUI truncation issue?
- Subject: Is that possible to use applescript to detect GUI truncation issue?
- From: macgeek <email@hidden>
- Date: Fri, 19 Mar 2010 17:36:43 +0800 (CST)
Hi, everybody. As we know, applescript can get application GUI elements' position and size. For example, a button's size is {81,32}(width,hight). Applescript can also get the text content inside the button (e.g. "Cancel"), is there a way to calculate the text's width and hight (maybe need font attribute,is that possible to get from applescript or need other way)? If so,I can make script to compare them and detect GUI truncation issues. Any help or suggestion will be appreciated.
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden