Results 1 to 4 of 4

Thread: read pixel color

  1. #1
    mordret
    Guest

    Question

    hi there,

    is it possible in VBscript to read a pixels color from a specific coordinate in the browser window, I want to load a certain page when - eg. the pixel x:10/y:10 turns red?

    thx i.a.

  2. #2
    Addicted Member Xenonic_Rob's Avatar
    Join Date
    Jun 2000
    Location
    England, UK
    Posts
    213
    Yes and no.

    No, you can't do it pixel - by - pixel, but u could do an image, and do it like this:

    <img src="image.gif" style="position:absolute; top:50; left:50" onMouseOver="vbscript:dothisevent">

    Get it?

    Rob Wright
    E-mail: [email protected]
    Website: http://www.xenonic.com
    The First Member of Honeybee's Club
    Favourite words: Zugzwang and Empiric

  3. #3
    mordret
    Guest
    Hi Xenonic!

    thx for your clever suggestion but unfortunately I am afraid it is not applicable for me, because, I want to "monitor" a real-live-stream - and because it is not possible to send events with a _live_-stream but only - lets say - a "signal logo" that appears on the left corner of the (embedded) player-application whenever I want my script to do something (live).

    I would pack the player-application in a absolute layer and monitor this "hot-spot".

    It is AFAIK not possible with JavaScript, perhaps I works with VBscript (I usually don't use it); AFAIK again it works with VB and "GetPixel" but how could I probably use this information to do something in my browserwindow; Maybe a JavaApplet would do the trick aswell?

    ....

  4. #4
    Addicted Member Xenonic_Rob's Avatar
    Join Date
    Jun 2000
    Location
    England, UK
    Posts
    213
    OK, I think I get what you mean now... and yes, I think it IS possible... but I'm not QUITE sure the application of it.

    Please e-mail me (e-mail in signature) with EXACTLY how this program is going to be used etc., and perhaps I'll be able to help.

    Rob Wright
    E-mail: [email protected]
    Website: http://www.xenonic.com
    The First Member of Honeybee's Club
    Favourite words: Zugzwang and Empiric

Posting Permissions

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



Click Here to Expand Forum to Full Width