1. RE: Need Help With Windowing & INI Files

Hi Brian,

brian_keene at yahoo.com wrote:
> Hi All:
>I'm new to EU & this group.
>..
> haven't found a way to do (easily) with EU.  They are:
> 1. Read & write INI files.  The w32ini library in the archive allows
>    you to read & write INI files.  But not when you want to read all of
>    the entries in a "Program" area & don't know how many there are, &
>    how big the entries are. 

I think my ini system which is included with my windows editor on the 
contributions page (30/7/2001) will probably do a lot(maybe all)of what 
you want. In any case you can always edit it to suit your requirements

> 2. AutoIt was designed to help with the automation of windows
>    based installation programs (installshield, etc).  To this end,
>    you can identify if a window exists or is the active window by
>    matching on not only the window title, but text that is inside of
>    the window as well.  EU with the windows.ew library (in the archvie
>    agian) can do most of this except differentiate between 2 windows
>    that have the same title but different text inside the window.
> 
>    Can someone tell me how to do this with EU?


Aah, I think Derek is the guy who can answer this one..


Yours truly
Mike

vulcan at win.co.nz

new topic     » topic index » view message » categorize

2. RE: Need Help With Windowing & INI Files

> From: Mike <vulcan at win.co.nz>
> To: EUforum <EUforum at topica.com>
> Reply-To: EUforum at topica.com
> Subject: RE: Need Help With Windowing & 
> INI Files
> Date: 21/08/2001 12:58:39 PM

[snip]
> 
> > 2. AutoIt was designed to help with the 
> automation of windows
> >    based installation programs 
> (installshield, etc).  To this end,
> >    you can identify if a window exists 
> or is the active window by
> >    matching on not only the window 
> title, but text that is inside of
> >    the window as well.  EU with the 
> windows.ew library (in the archvie
> >    agian) can do most of this except 
> differentiate between 2 windows
> >    that have the same title but 
> different text inside the window.
> > 
> >    Can someone tell me how to do this 
> with EU?
> 
> 
> Aah, I think Derek is the guy who can 
> answer this one..

I was hoping someone else would jump in.

Anyhow, if you have the SDK manual you will be able to do this with a
combination of EnumWindows and EnumChildWindows API calls, and
WM_GETTEXTLENGTH and WM_GETTEXT messages. I'll try to knock up an example
later tonight. This method will only work for those controls that support
the WM_SETTEXT message, meaning that if you directly draw the text to the
window/control using DrawText or TextOut that you will miss searching those
controls.
----
Derek


confidential information intended solely for the use of the individual or
entity to whom they are addressed. If you are not the intended recipient of
this message you are hereby notified that any use, dissemination,
distribution or reproduction of this message is prohibited. If you have
received this message in error please notify the sender immediately. Any
views expressed in this message are those of the individual sender and may
not necessarily reflect the views of Global Technology Australasia Limited.

new topic     » goto parent     » topic index » view message » categorize

3. RE: Need Help With Windowing & INI Files

Hi Derek:
I don't have the SDK.  So any help would be much appreciated.

Thanks In Advance
Regards
Brian Keene

--- Derek Parnell <ddparnell at bigpond.com> wrote:
> 
> > From: Mike <vulcan at win.co.nz>
> > To: EUforum <EUforum at topica.com>
> > Reply-To: EUforum at topica.com
> > Subject: RE: Need Help With Windowing & 
> > INI Files
> > Date: 21/08/2001 12:58:39 PM
> 
> [snip]
> > 
> > > 2. AutoIt was designed to help with the 
> > automation of windows
> > >    based installation programs 
> > (installshield, etc).  To this end,
> > >    you can identify if a window exists 
> > or is the active window by
> > >    matching on not only the window 
> > title, but text that is inside of
> > >    the window as well.  EU with the 
> > windows.ew library (in the archvie
> > >    agian) can do most of this except 
> > differentiate between 2 windows
> > >    that have the same title but 
> > different text inside the window.
> > > 
> > >    Can someone tell me how to do this 
> > with EU?
> > 
> > 
> > Aah, I think Derek is the guy who can 
> > answer this one..
> 
> I was hoping someone else would jump in.
> 
> Anyhow, if you have the SDK manual you will be able to do this with a
> combination of EnumWindows and EnumChildWindows API calls, and
> WM_GETTEXTLENGTH and WM_GETTEXT messages. I'll try to knock up an
> example
> later tonight. This method will only work for those controls that
> support
> the WM_SETTEXT message, meaning that if you directly draw the text to
> the
> window/control using DrawText or TextOut that you will miss searching
> those
> controls.
> ----
> Derek
> 
> 
> confidential information intended solely for the use of the
> individual or
> entity to whom they are addressed. If you are not the intended
> recipient of
> this message you are hereby notified that any use, dissemination,
> distribution or reproduction of this message is prohibited. If you
> have
> received this message in error please notify the sender immediately.
> Any
> views expressed in this message are those of the individual sender
> and may
> not necessarily reflect the views of Global Technology Australasia
> Limited.
> 
> 
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu