Doug and Ron both left out a word. Try:
Set myGridWindows =
Activewindow.Children.FilterByClassAndModule("TDBGridView", "")
Aaron
On 12/23/2009 10:41 AM, Ralf Kefferpuetz wrote:
thanks Ron, but this time it brings following:
Error: Wrong number of arguments or invalid property assignment:
'myGridWindows'
Ralf Kefferpuetz * Germany * MSN/Live: [email protected]
<mailto:[email protected]> * Aim: RalfKatEMC * Skype/Yahoo:
rkefferpuetz7747
http://blindpodcast.mypodcast.com <http://blindpodcast.mypodcast.com/>
------------------------------------------------------------------------
*From:* Ron Parker [mailto:[email protected]]
*Sent:* Wednesday, December 23, 2009 4:35 PM
*To:* [email protected]
*Subject:* Re: Newbie question, reading text from a part of a screen
No, Doug left out a character. The first line should read
myGridWindows =
Activewindow.Children.FilterByClassAndModule("TDBGridView", "")
On 12/23/2009 10:23 AM, Ralf Kefferpuetz wrote:
Hello Doug,
thanks for the example. Yes, you understood me right.
When running this code, I get an Error: Unterminated string constant
after the first line of code. Do I have to load the toolkit before?
regards,
Ralf
Ralf Kefferpuetz * Germany * MSN/Live: [email protected]
<mailto:[email protected]> * Aim: RalfKatEMC * Skype/Yahoo:
rkefferpuetz7747
http://blindpodcast.mypodcast.com <http://blindpodcast.mypodcast.com/>
------------------------------------------------------------------------
*From:* Doug Geoffray [mailto:[email protected]]
*Sent:* Wednesday, December 23, 2009 3:28 PM
*To:* [email protected]
*Subject:* Re: Newbie question, reading text from a part of a screen
Ralf,
If I'm understanding your question correctly, it sounds like you know
the window you are interested in because it has a classname of
TDBGridView. So simply find that window then then get all it's
children. So maybe something like this?
myGridWindows =
Activewindow.Children.FilterByClassAndModule("TDBGridView, "")
If myGridWindows.Count <> 1 Then
Speak "humm, something went wrong"
' sound the alarms and abort here cause we either didn't find the
control or there was more then 1
Else
myClips = myGridWindows(1).clips(False, False)
' myClips now has all the clips for the TDBGridView control only
in a static form
End If
Regards,
Doug
Ralf Kefferpuetz wrote:
Hi all,
I use a chat application which can be read very good with user windows and
I'm more and less happy with this user window solution, but
I want to start using scripting to accomplish same or better results. So
far so good :D
Since I'm a beginner in objected oriented scripting I've got a simple
question.
The Chat application is divided in 2 major parts, on the left side is the
area where users can type and read what others typed. On the right side is a
list of all room members. I want to write a script which reads to me tha
names of the users in the room from top to bottom. Again, this was easy
doing with a user window.
With the following code I can read all clips in the chat window, the text
the users are typing and the names of the users, menus etc: in the room:
set cc = activewindow.clips
for i = 1 to cc.count : print i& " "& cc(i).text : next
The problem is that the clip number for the user names on the right side
alters with the number of messeges the user are typing. The class for the
right part with the usernames is called TDBGridView. Now finally my
question: How can I just read the content of the class TDBGridView, instead
of the full screen?
Thanks and happy holidays,
Ralf
Ralf Kefferpuetz * Germany * MSN/Live:[email protected] * Aim:
RalfKatEMC * Skype/Yahoo: rkefferpuetz7747
http://blindpodcast.mypodcast.com
-----Original Message-----
From: Chip Orange [mailto:[email protected]]
Sent: Wednesday, December 23, 2009 1:30 AM
To:[email protected]
Subject: RE: the wiki
thanks again.
Chip
-----Original Message-----
From: Ron Parker [mailto:[email protected]]
Sent: Tuesday, December 22, 2009 8:15 AM
To:[email protected]
Subject: Re: the wiki
On 12/21/2009 9:51 PM, Chip Orange wrote:
hi GW,
I'd like to capture some of what Ron has helped me with in a wiki
page, but I don't see how I can create new pages. is it possible, or
can we only edit pages which already exist?
One way to do it is to search for the title you'd give the page you're
interested in. The search page will tell you "There is no page titled
"whatever". You can [link] create this page."
If you follow the "create this page" link, you will - not surprisingly -
create the page, which you can then edit to your heart's content.
--
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.
Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support& Web Development