Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Simulating mouse clicks in delphi

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 08, 2007 9:24 am    Post subject: Simulating mouse clicks in delphi Reply with quote

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
View user's profile Send private message MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sun Jul 08, 2007 10:38 am    Post subject: Reply with quote

get the coord's of all the clicks?
_________________
Back to top
View user's profile Send private message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sun Jul 08, 2007 10:59 am    Post subject: Reply with quote

Go to Torry's Delphi Pages for that... I know it from there.
_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 08, 2007 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sun Jul 08, 2007 1:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Sun Jul 08, 2007 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Jul 09, 2007 2:01 am    Post subject: Reply with quote

Isnt there something similiar to keyboard ?

like

SendCurs_event (0,0,0,0) ?
Back to top
View user's profile Send private message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Mon Jul 09, 2007 2:02 am    Post subject: Reply with quote

Make some timers for that, each of them clicks at another coords.
_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites