• 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
Inspecting a Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inspecting a Window


  • Subject: Inspecting a Window
  • From: "Wim Decorte" <email@hidden>
  • Date: Thu, 11 Nov 2004 09:28:58 +0100
  • Thread-topic: Inspecting a Window

Tell application "filemaker developer"
	activate
	get properties of window 1
End tell

When FileMaker has a modal window open this script times out.  It works
fine when there is just a document window open.  Now this is probably a
FileMaker limitation but it leads to my question: can I use AS to
inspect any window.  FileMaker may have any window or dialog showing (an
error, a warning, a scriptmaker or field definition window, ...) and I
need to know:
- the caption
- the text on the dialog
- the position of the window/dialog

I've tried with the scripts generated by Prefab UI Browser but the same
timeout happens.  Tried on 3 machines with 10.2.5, 10.3.5 and 10.3.6.

The above script times out with or without the 'activate' and also when
'activate' is the only I tell it to do (but only if any window except a
filemaker document window is showing).

Lacking any good native AS method, are there any Cocoa or Carbon
wrappers in AS that would allow me to inspect any window of any app?

TIA,

Wim.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Read a cell in Excel 2004
  • Next by Date: New AppleScript Book Table of Contents posted
  • Previous by thread: Simple Help Files
  • Next by thread: New AppleScript Book Table of Contents posted
  • Index(es):
    • Date
    • Thread