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.
Printable View
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.
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?
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?
....
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.