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] DELPHI [Hotkeys in WB

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

Joined: 07 Jun 2007
Posts: 89

PostPosted: Mon Jul 16, 2007 3:20 am    Post subject: Help] DELPHI [Hotkeys in WB Reply with quote

can this piece of code be used to make hotkeys
Quote:


procedure TForm1.WebBrowser1CommandStateChange(Sender: TObject; Command: Integer; Enable: WordBool);
begin
--case Command of
---CSC_NAVIGATEBACK: BackCtrl.Enabled := Enable;
---CSC_NAVIGATEFORWARD: FrwrdCtrl.Enabled := Enable;
---CSC_UPDATECOMMANDS: StopCtrl.Enabled := TWebBrowser(Sender).Busy;
--end;
end;

backctrl = Left CTRL?
if this isnt right, could sum1 teach me
thanks ^^
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: Mon Jul 16, 2007 4:26 am    Post subject: Reply with quote

that code is as you see for a webbrowser.

Its so you dont get an error, because usually you can click Back/Foward without even doing something on the webbrowser (visiting sites).

so that does so if you go to a site, it will enable the back button.
if you go back, it will enable the foward button.

i dont know about the last command (Stop)

I think Ctrl is instead of Button or Btn.

i use timers to make hotkeys.

Procedure ... (double click timer)
Begin
If Odd(GetAsyncKey VK_11) then
begin
BackButton.click; //Webbrowser1.Back;
end;

VK_F11 is the key = F11
VK_RETURN = Enter
VK_ESCAPE = Esc
VK_F1-12 = F1-F12 Keys

i made a topic where someone answered with a link, which linked to a website with all the keys. look for it (Should be 1-2 page)
Back to top
View user's profile Send private message MSN Messenger
Iampro
Advanced Cheater
Reputation: 0

Joined: 07 Jun 2007
Posts: 89

PostPosted: Mon Jul 16, 2007 4:58 am    Post subject: Reply with quote

ok ty


btw im skylla
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: Mon Jul 16, 2007 5:00 am    Post subject: Reply with quote

also a code like this (not the same, but something which looks alike) can be found on sythes site (the runescape one, with all the bots, they got a closed sub-forum for delphi on how to make a webbrowser, google it)
Back to top
View user's profile Send private message MSN Messenger
Iampro
Advanced Cheater
Reputation: 0

Joined: 07 Jun 2007
Posts: 89

PostPosted: Mon Jul 16, 2007 5:11 am    Post subject: Reply with quote

Kevinnn wrote:
that code is as you see for a webbrowser.

Its so you dont get an error, because usually you can click Back/Foward without even doing something on the webbrowser (visiting sites).

so that does so if you go to a site, it will enable the back button.
if you go back, it will enable the foward button.

i dont know about the last command (Stop)

I think Ctrl is instead of Button or Btn.

i use timers to make hotkeys.

Procedure ... (double click timer)
Begin
If Odd(GetAsyncKey VK_11) then
begin
BackButton.click; //Webbrowser1.Back;
end;

VK_F11 is the key = F11
VK_RETURN = Enter
VK_ESCAPE = Esc
VK_F1-12 = F1-F12 Keys

i made a topic where someone answered with a link, which linked to a website with all the keys. look for it (Should be 1-2 page)


what do u mean double click timer?
where is it?
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: Mon Jul 16, 2007 5:21 am    Post subject: Reply with quote

drop a timer (from the system tab) and double click it. i dont remember what the procedure is called.
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: Mon Jul 16, 2007 5:39 am    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?t=105125&start=15

an epic and educational read.
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