| View previous topic :: View next topic |
| Author |
Message |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sun Jul 08, 2007 9:24 am Post subject: Simulating mouse clicks in delphi |
|
|
Im making a msn spammer (on/off all time)
but i need to make the mouse go to system tray, right click icon, go to Status, click on offline, go to icon and right click, go to Status, Click on Online.
i want to do this clicking 1 button only. i tried but i simply couldnt make it work.
thanks.
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sun Jul 08, 2007 10:38 am Post subject: |
|
|
get the coord's of all the clicks?
_________________
|
|
| Back to top |
|
 |
DevilGilad Grandmaster Cheater
Reputation: 0
Joined: 10 May 2007 Posts: 624 Location: Delete C:\WINDOWS folder and you'll be able to see me.
|
Posted: Sun Jul 08, 2007 10:59 am Post subject: |
|
|
Go to Torry's Delphi Pages for that... I know it from there.
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sun Jul 08, 2007 11:24 am Post subject: |
|
|
I got all the coords....
But if i use something like
SetCursPos (x, y)
mouseright (down 0,0,0,0,0)
mouseright (up 0,0,0,0,0)
NOTE!!!! The code from above is NOT a correct code, i know that
but i cant make it click like, first at this coord, then at this coord then at a 3rd coord...
could someone put a code op for this?
|
|
| Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
Posted: Sun Jul 08, 2007 1:38 pm Post subject: |
|
|
Go to MSDN and look up SendInput.
Also, to spam a certain person in MSN with log on/off, just keep pressing the block/unblock button...
_________________
Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for? |
|
| Back to top |
|
 |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Sun Jul 08, 2007 7:14 pm Post subject: |
|
|
Instead of clicking all the time, find out what those clicks would DO and then do that programmatically.
Ex: Instead of finding a program's icon on the desktop and then double clicking that to start the program, call CreateProcess().
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Jul 09, 2007 2:01 am Post subject: |
|
|
Isnt there something similiar to keyboard ?
like
SendCurs_event (0,0,0,0) ?
|
|
| Back to top |
|
 |
DevilGilad Grandmaster Cheater
Reputation: 0
Joined: 10 May 2007 Posts: 624 Location: Delete C:\WINDOWS folder and you'll be able to see me.
|
Posted: Mon Jul 09, 2007 2:02 am Post subject: |
|
|
Make some timers for that, each of them clicks at another coords.
_________________
|
|
| Back to top |
|
 |
|