emulate a mouse click

Byak@

Active Member
Licensed User
how can i emulate a mouse click on desctop? i'm interest by left and right mouse buttons.i can emulate a left click with Hardwere.dll but what about right button?
 

Byak@

Active Member
Licensed User
Erel, i'm look about a source code of hardwere.dll. in this code only need to change one parametr! but i can't compil it,i'm not have a Visual Studia
 

agraham

Expert
Licensed User
Longtime User
Are you looking at the correct source code? In HardwareDesktop.cs MouseClick is an empty placeholder function. Try this teeny-weeny library.

EDIT:- Sorry bit I've removed the little library because it wasn't working properly and for some reason I can't make it work :(
 
Last edited:

Byak@

Active Member
Licensed User
ooops i'm look in Hardwere.cs
as i understand it is not possible on basic4ppc?
 

Byak@

Active Member
Licensed User
but what about XP?
 

Mr_Gee

Active Member
Licensed User
Longtime User
I used a small mortscript to emulate a rightclick
I also included the mouse coordinates so i could tell it where to click.

on a sidenote,
I tried to make a fishingbot for WOW, it required a rightclick
it works, except the when to clicking logic ... so.. its useless :)
 
Last edited:
Top