Inspecting a Window
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