• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is that possible to use applescript to detect GUI truncation issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: AppleScript, Pages and Text boxes (part 1)
  • Next by Date: Re: AppleScript, Pages and Text boxes (part 1)
  • Previous by thread: AppleScript, Pages and text box (part 2)
  • Next by thread: OS 10.6 Set Current Printer not working
  • Index(es):
    • Date
    • Thread