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 


visual basic

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

Joined: 21 Oct 2007
Posts: 42

PostPosted: Tue Dec 25, 2007 4:40 am    Post subject: visual basic Reply with quote

hey its me again xD i want to ask how i make a program when u click Start it will clicking 0 in some application ... how i make that?


Merry Christmas all and Happy New Year

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Dec 25, 2007 3:08 pm    Post subject: Reply with quote

"clicking 0 in some application"

Do you mean click a button in another application? You can use FindWindow and FindWindowEx to obtain the handle to the button of the window then use mouse_event to click on it via the rect of the button. You can find examples of the API here:

http://allapi.mentalis.org/apilist/FindWindow.shtml
http://allapi.mentalis.org/apilist/FindWindowEx.shtml
http://allapi.mentalis.org/apilist/mouse_event.shtml

The mouse event example shows you how to auto click on a menu which shows how to get the rect of an object which you will need to do when obtaining the info of the button.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Hack-Addict
Master Cheater
Reputation: 0

Joined: 20 Nov 2007
Posts: 287

PostPosted: Wed Dec 26, 2007 12:22 pm    Post subject: Reply with quote

Don't know if this helps... but use this...

Sendkeys ("0")

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
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