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 


closed
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 4:45 pm    Post subject: closed Reply with quote

closed
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing


Last edited by oib111 on Fri Jul 20, 2007 4:21 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Jul 19, 2007 4:47 pm    Post subject: Reply with quote

RegisterHotKey
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 4:48 pm    Post subject: Reply with quote

Thanks appal, but how come everyone has to give links to stuff. Is it because they can't quite understand it or they just don't feel like explaining. But still, thx...

Edit:

It didn't help. MSDN never helps me. It just gives parameters and never gives example code(s) and explaining how they do what they do. And when I said registering hotkeys, I just meant to make a hotkey so that when it's pressed it starts the code.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing


Last edited by oib111 on Thu Jul 19, 2007 4:56 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Thu Jul 19, 2007 4:49 pm    Post subject: Reply with quote

Because people don't want to code for you? And the internet is full of documentation.
_________________
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

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

PostPosted: Thu Jul 19, 2007 4:50 pm    Post subject: Reply with quote

its easier just posting a link, but also you didnt ask for an explaination just if it was possible. Wink

i'm sorry but i dont know, and never tried this feature so i can help you with it.
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Jul 19, 2007 4:51 pm    Post subject: Reply with quote

oib111 wrote:
Thanks appal, but how come everyone has to give links to stuff. Is it because they can't quite understand it


Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

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

PostPosted: Thu Jul 19, 2007 4:57 pm    Post subject: Reply with quote

by the way appalsap , +rep! no one deserves it more then you, probably smartest person on cef.
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: Thu Jul 19, 2007 5:01 pm    Post subject: Reply with quote

MSDN is pretty much your number one stop for API needs.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 5:05 pm    Post subject: Reply with quote

Ok, I'm sorry. But it is easier to post a link. And you're right, I didn't say I wanted a code, just how to do it.

@zomgiownyou

It's just easier for me to understand things when someone gives me an example.

Edit:

Kevinnn wrote:
probably smartest person on cef.


What about DarkByte?

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

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

PostPosted: Thu Jul 19, 2007 5:08 pm    Post subject: Reply with quote

i feel the same way, i'd rather have a short text description about the code, and then the source.

rather than a long text which descripes every single function of it ...

edit: Probably smartest person on cef.. well, of course dark byte is probably the smartest because he made ce. but appalsap is always around with quick replies and knows the answers to almost all questions getting asked. also dark byte isnt that active on the forums. But of course i repped Dark Byte too Wink ( not today, i dont remember when i did it )
Back to top
View user's profile Send private message MSN Messenger
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Thu Jul 19, 2007 5:14 pm    Post subject: Reply with quote

oib111 wrote:
Thanks appal, but how come everyone has to give links to stuff. Is it because they can't quite understand it or they just don't feel like explaining. But still, thx...

Edit:

It didn't help. MSDN never helps me. It just gives parameters and never gives example code(s) and explaining how they do what they do. And when I said registering hotkeys, I just meant to make a hotkey so that when it's pressed it starts the code.

Why explain over and over again when people have already done that thousands of times over on the internet?

Google can get you code samples:

Keyword: registerhotkey

3rd link (C++): http://www.codeproject.com/system/nishhotkeys01.asp
4th link (C#): http://dotnetjunkies.com/WebLog/principal/archive/2005/04/21/69872.aspx
5th link (VB6): http://www.scottandmichelle.net/scott/code/index2.mv?codenum=086
6th link (Delphi): http://www.swissdelphicenter.ch/torry/showcode.php?id=147

_________________

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
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Thu Jul 19, 2007 5:17 pm    Post subject: Reply with quote

oib111 wrote:
@zomgiownyou
It's just easier for me to understand things when someone gives me an example.


MSDN gives you examples.

Kevinnn wrote:

rather than a long text which descripes every single function of it ...


The explanations aren't that long and they explain it well. Besides you can have everything given to your hands every time.

_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 5:18 pm    Post subject: Reply with quote

Good point. Thank you. I probably should have pointed out it was in delphi. And I probably also should have said without the GlobalAddAtom too, but I guess that wak works too Very Happy

Edit:

I know it gives examples. Just it didn't that time, it just gave the syntax and explained the parameters. If it gave me an example it would better help me understand how to use the RegisterHotKey Function()

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
KingZero
Expert Cheater
Reputation: 0

Joined: 27 Jun 2006
Posts: 103

PostPosted: Fri Jul 20, 2007 12:48 am    Post subject: Reply with quote

http://torry.net/pages.php?id=238
That should help you.
Back to top
View user's profile Send private message
malfunction
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Jan 2007
Posts: 1015
Location: http://www.behindthecorner.com/

PostPosted: Fri Jul 20, 2007 2:56 am    Post subject: Reply with quote

okay, since no1 else is gonna explain it to u, i will
first put some buttons n stuff, then drop a timer from the system tab (looks like a white clock)
click events --> click OnTimer --> dbl click timer --> code page pops up
Quote:

procedure TForm1.Timer1Timer(Sender: TObject);
begin
if odd(GetAsyncKeystate(VK_RETURN)) then
begin
(button1.click); //when hotkey pressed, does the same thing when button1 is clicked
end;


end;

put the green code there
the underlined part is the button which acts as the hotkey(in this example, i used "enter" key, when enter is pressed it does the same thing as when button1 is clicked
VK_F1-12 = F1-F12

the bolded part is the thing which is done when enter key is pressed

hope this helped

the registerhotkey function can be found from delphi help and an example how to use it

_________________
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
Goto page 1, 2  Next
Page 1 of 2

 
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