• 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
Re: How can I get the count of these menu items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get the count of these menu items?


  • Subject: Re: How can I get the count of these menu items?
  • From: Axel Luttgens <email@hidden>
  • Date: Mon, 20 Jul 2015 10:15:46 +0200

> Le 20 juil. 2015 à 08:57, Brian Christmas a écrit :
>
> For anyone willing to try to help, below is the button on the bottom of the Graphic Converter window that I’m trying to count the menu items of.

Hello Brian,

Assuming a document’s window always displays the current page number as "x of y" in text field 1, you could go along these lines:

	tell application "System Events" to get value of text field 1 of front window of application process "GraphicConverter"
	word 3 of result as integer

HTH,
Axel


 _______________________________________________
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: How can I get the count of these menu items?
  • Next by Date: Re: How can I get the count of these menu items?
  • Previous by thread: Re: How can I get the count of these menu items?
  • Next by thread: NSFileManager's odd behavior
  • Index(es):
    • Date
    • Thread