Keystroke simulation

Status
Not open for further replies.

tommyboy123x

Daemon Poster
Messages
654
I want to impliment a "virtual" keystroke and kind of trick the computer into thinking that when i click the mouse on a certain area, it holds down the control and shift button.

The first thing that comes to mind is javascript and keyCode, but I'm not sure how I could in any way go about using it this.

If I could somehow it should be something like:

onmouseover(VirtualKeyCode=xx, xx). <-- very bad syntax i know


The reason for this is to use an abstract way of getting a right click "open link in new window" for IE. ctrl + shift + left click = new window. I think firefox is just ctrl, so thats a little easier.

Thanks,
Tom
 
Status
Not open for further replies.
Back
Top Bottom