I need to know how to use the mouse x and y movement in vbs to trigger events. left triggers one event while right movemment triggers another. Any suggestions.
The following code will show you how the mousemove event works, from there you should be able to derive the code for using this event to trigger other events.
<script language=vbscript>
function document_onmousemove()
myForm.txtField.value = window.event.screenx
end function
</script>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.