Not only will will the hypers break if a window gets moved or sized, but searching for a hard coded string is language specific, and we don't want that. If the cursor visible trick doesn't work for you, there are some other things that separate the two windows that we can look at.

Aaron

Steve Holmes wrote:
I had a similar challenge with Thunderbird today and I settled on the old school hyperactive window trick; I look for "Compose:" in the top line of the active window and switch sets. I think I might like to look at the Cursor.Visible trick though as that might be more reliable. All someone needs to do is move or resize their screen and my hyperactive windows are right out the window so to speak. That will have to come with the next version. I already put up a new version today.:)

J.J. Meddaugh wrote:
Sorry, the window name, not the title. Yes, it works.
The name still contains New message.
J.J. www.BlindBargains.com <http://www.BlindBargains.com>
Deals, news, and resources for the blind and visually impaired

    ----- Original Message -----
    *From:* Doug Geoffray <mailto:[EMAIL PROTECTED]>
    *To:* gw-scripting@gwmicro.com <mailto:gw-scripting@gwmicro.com>
    *Sent:* Friday, June 27, 2008 2:33 PM
    *Subject:* Re: Finding the Correct OE Window

    J.J.,

    Does your method work if you are replying to a message?

    Doug

    J.J. Meddaugh wrote:
    I also seemed to get it to work by searching for "new message" in
    the window title. But your method would get around international
    problems.
         J.J.
         www.BlindBargains.com <http://www.BlindBargains.com>
    Deals, news, and resources for the blind and visually impaired

        ----- Original Message -----
        *From:* Doug Geoffray <mailto:[EMAIL PROTECTED]>
        *To:* gw-scripting@gwmicro.com <mailto:gw-scripting@gwmicro.com>
        *Sent:* Friday, June 27, 2008 2:04 PM
        *Subject:* Re: Finding the Correct OE Window

        J.J.,

        We had a similar issue with when to enable browse mode.  We
        ultimately used the cursor.  Meaning if cursor.visible is
        true then you are composing and if cursor.visible is false
        then you are reading.

        Hope this helps.

        Regards,
        Doug

        J.J. Meddaugh wrote:
        I was looking at the request for pressing delete to delete a
        message while reading it, but ran into a small snag.
        I want to register this hotkey but only have it work in that
        window. Fine, but the properties for the message viewing and
        composing windows seems to be identical. I looked at name,
        type, classname, etc. etc. and can't seem to find a
        difference. I guess I should also get Jamal's harvest to
        investigate this further.
Anyone have an idea of how to detect the correct window?
                 J.J.
                 www.BlindBargains.com <http://www.BlindBargains.com>
        Deals, news, and resources for the blind and visually impaired

        --         Doug Geoffray
        GW Micro, Inc.
        Voice 260-489-3671
        Fax 260-489-2608
        http://www.gwmicro.com


    --     Doug Geoffray
    GW Micro, Inc.
    Voice 260-489-3671
    Fax 260-489-2608
    http://www.gwmicro.com



--
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

Reply via email to