Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Finding Variable Title Bar Text

0 views
Skip to first unread message

Steve

unread,
Dec 7, 2009, 3:58:45 PM12/7/09
to
Hi,

I am trying to use various API calls to target an application for
which I want
to send keystrokes via the SendKeys functionality. The problem with
this
application is that the title text varies depending on numerous factors
(version
of software, Which database is currently loaded ... etc).

I basically want to be able to:
(1) Find the parent application
(2) Test for a particular child window dialog text it might possibly
open
(3) If the child dialog text with a known value exists, send
keystrokes to satisfy it.

I don't know of a way to find the parent application because of its
varying title text.

If there is a way to use wildcard-like testing or possibly being able
to select title
text from a list of what's out there, I could make due and have a
solution.

Some API's and VB functions I am currently using:
FindWindow
GetWindowThreadProcessId
FindWindowEx
AppActivate
SendKeys

Thank you,

~Steve

0 new messages