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 


Help with making a program.

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

Joined: 23 May 2007
Posts: 420

PostPosted: Sat May 30, 2009 4:51 pm    Post subject: Help with making a program. Reply with quote

Well, there's an auto clicker that uses command prompt, and you just type in like "click now!" and there's some countdown.

But I want to instead, make a program that auto-presses keys for me with a time interval between the pressing.

I want the program to press the buttons f5, enter, and f8 at a decent pace. More preferably an option which manipulates the time between the pressing.

I tried looking on google on how to make programs auto-press and stuff like that, but I thought that it'd be much smarter to ask for it and have real-time answers.

Thank you in advance Very Happy
Back to top
View user's profile Send private message
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Sat May 30, 2009 5:10 pm    Post subject: Reply with quote

language?
Back to top
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat May 30, 2009 5:15 pm    Post subject: Reply with quote

Just use SendInput or send the window WM_KEYDOWN / UP messages.

http://msdn.microsoft.com/en-us/library/ms646310.aspx

http://msdn.microsoft.com/en-us/library/ms646280(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx
Back to top
View user's profile Send private message
Clannad
Master Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 420

PostPosted: Sat May 30, 2009 5:22 pm    Post subject: Reply with quote

gogodr wrote:
language?


I saw that AutoIT could be a good program to use.
But would I be able to put in a hotkey to enable it, and unable it?

slovach wrote:
Just use SendInput or send the window WM_KEYDOWN / UP messages.

http://msdn.microsoft.com/en-us/library/ms646310.aspx

http://msdn.microsoft.com/en-us/library/ms646280(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx


I have no experience in programming at all. So would you mind explaining what you just said meant? Sorry ...complete failure in programming .__.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat May 30, 2009 6:07 pm    Post subject: Reply with quote

Autoclick may be against the law and will be against the term of usage. The question is, is it worth it.
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Clannad
Master Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 420

PostPosted: Sat May 30, 2009 6:18 pm    Post subject: Reply with quote

Beloved Hero wrote:
Autoclick may be against the law and will be against the term of usage. The question is, is it worth it.


Autoclicking against the law? o__o
Well I was just giving an example of how someone manipulated command prompt to click so fast, and that maybe you could manipulate command prompt into sending keys.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat May 30, 2009 6:24 pm    Post subject: Reply with quote

Lube wrote:
Beloved Hero wrote:
Autoclick may be against the law and will be against the term of usage. The question is, is it worth it.


Autoclicking against the law? o__o
Well I was just giving an example of how someone manipulated command prompt to click so fast, and that maybe you could manipulate command prompt into sending keys.

For instance autoclick can generate money for you, don't you think that is agianst the law.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat May 30, 2009 6:35 pm    Post subject: Reply with quote

@Lube
You could use autoit, but if whatever window/game your trying to click has protection (i.e GameGaurd, Hackshield, etc) then autoit wont work I think.
You might want to explain what this is all for anyways, and how it will be used. Hell, someone might even provide a source code .




@Beloved Hero
chances are hes using it to click in some little game
and he barely even knows autoIT, so I dont think he poses anyone a real threat to be honest

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat May 30, 2009 6:45 pm    Post subject: Reply with quote

Lube wrote:
gogodr wrote:
language?


I saw that AutoIT could be a good program to use.
But would I be able to put in a hotkey to enable it, and unable it?

slovach wrote:
Just use SendInput or send the window WM_KEYDOWN / UP messages.

http://msdn.microsoft.com/en-us/library/ms646310.aspx

http://msdn.microsoft.com/en-us/library/ms646280(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx


I have no experience in programming at all. So would you mind explaining what you just said meant? Sorry ...complete failure in programming .__.


AutoIT will probably work fine, I don't see why you couldn't make a hotkey.


Beloved Hero wrote:
Autoclick may be against the law and will be against the term of usage. The question is, is it worth it.


lol against the law. Terms of service, sure. Worst case scenario is you get banned.
Back to top
View user's profile Send private message
Clannad
Master Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 420

PostPosted: Sat May 30, 2009 9:49 pm    Post subject: Reply with quote

manc wrote:
@Lube
You could use autoit, but if whatever window/game your trying to click has protection (i.e GameGaurd, Hackshield, etc) then autoit wont work I think.
You might want to explain what this is all for anyways, and how it will be used. Hell, someone might even provide a source code .




@Beloved Hero
chances are hes using it to click in some little game
and he barely even knows autoIT, so I dont think he poses anyone a real threat to be honest


Lol, I already know the GG will block programs blahblah.
But GG doesn't even load up for this situation, cause of the bypass.

But anyway AutoIt really confuses me -sigh- programming is a pain.
Anyone have a script I could use?

Or maybe, manipulate command prompt so that it presses these buttons that target only the process not the whole system, so I can alt+tab.

Idk, I just like the whole command prompt manipulation thing lol.. but is it even possible?
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