SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2003
    Location
    San Francisco, CA, USA
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PressMouse and Netscape4

    I am having problems with using PressMouse and Netscape4. IE and standalone applications work ok, it's just Netscape4.

    What I need to do is a bitmap compare of a button in it's down state:

    so this works except with netscape 4, the PressMouse acts like a Click(). I know this by putting a sleep after the Agent.FlushEvents() to see what the state of the button is, sure enough, the button is pressed, then released?

    Any suggestions on a work around?

    -Thanks

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: PressMouse and Netscape4

    It sometimes helps to include a MoveMouse() (after the PressMouse) that's just one pixel over and down to 'wake up' a Silk response.

    Also instead of capturing and comparing a bitmap you may instead be able to obtain the bitmap file name from the source panel. By pre-qualifying each graphic you'd only need to verify a name-match thereafter. This is a much faster and simpler test.


    John


    ------------------

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Location
    San Francisco, CA, USA
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: PressMouse and Netscape4

    Thanks for the help... it didn't work I guess I should have mentioned that this is a flash movie too.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:12 PM.

Copyright BetaSoft Inc.