Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 08:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Suche Hotkey Code

Discussion on Suche Hotkey Code within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 26
Join Date: Oct 2010
Posts: 211
Received Thanks: 25
Thumbs up Suche Hotkey Code

Hallo,

Ich suche ein Code wenn man den Button 3 drückt dass der Taskmanager kommt also die Keys: Strg + alt + entf

Danke im Vorraus
mfg.
The-Punisher is offline  
Old 10/26/2010, 17:38   #2
 
elite*gold: 0
Join Date: Mar 2009
Posts: 3,963
Received Thanks: 1,584
Hi,

Schreibe das in den Button:

Code:
    Process.Start("Taskmgr.exe")
Lg Algaten™
Algaten™ is offline  
Thanks
1 User
Old 10/26/2010, 18:27   #3
 
elite*gold: 26
Join Date: Oct 2010
Posts: 211
Received Thanks: 25
Quote:
Originally Posted by Algaten™ View Post
Hi,

Schreibe das in den Button:

Code:
    Process.Start("Taskmgr.exe")
Lg Algaten™
Bei mir kommt dann :
Fehler 1 Die Anweisung ist in einem Namespace ungültig.
Fehler 2 Die Anweisung ist in einem Namespace ungültig.
Fehler 3 "End Class" muss ein entsprechendes "Class" voranstehen.

EDIT: DANKE GEHT DOCH :] HAST EIN THX !
The-Punisher is offline  
Old 10/26/2010, 18:28   #4


 
Al Kappaccino's Avatar
 
elite*gold: 179
Join Date: Oct 2009
Posts: 7,853
Received Thanks: 8,558
Quote:
Originally Posted by The-Punisher View Post
Bei mir kommt dann :
Fehler 1 Die Anweisung ist in einem Namespace ungültig.
Fehler 2 Die Anweisung ist in einem Namespace ungültig.
Fehler 3 "End Class" muss ein entsprechendes "Class" voranstehen.
Erst einmal die Sprache lernen^^
Um welche es auch immer geht

Quote:
Fehler 3 "End Class" muss ein entsprechendes "Class"
Sagt schon vieles aus
Al Kappaccino is offline  
Thanks
1 User
Old 10/26/2010, 18:44   #5
 
elite*gold: 26
Join Date: Oct 2010
Posts: 211
Received Thanks: 25
Ok nun habe ich eine neue Frage jetzt will ich dass wen ich den Button 4 anklicke das es automatisch alt+f4 drückt also ein hotkey code für alt + f4
The-Punisher is offline  
Old 10/26/2010, 18:50   #6
 
Project Rivalry's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,674
Received Thanks: 229
wen du das programm schließen willst das du gecodet hast nimm doch einfach

Quote:
end
Project Rivalry is offline  
Old 10/26/2010, 18:55   #7
 
elite*gold: 26
Join Date: Oct 2010
Posts: 211
Received Thanks: 25
Quote:
Originally Posted by GAMER19951 View Post
wen du das programm schließen willst das du gecodet hast nimm doch einfach
brauche aber jetzt ein hotkey code für alt f4 beim klicken des button 4
The-Punisher is offline  
Old 10/26/2010, 19:03   #8
 
Project Rivalry's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,674
Received Thanks: 229
PHP Code:
MyComputerKeyboard.sendkeys("%F4"
Project Rivalry is offline  
Old 10/26/2010, 19:10   #9
 
elite*gold: 26
Join Date: Oct 2010
Posts: 211
Received Thanks: 25
Quote:
Originally Posted by GAMER19951 View Post
PHP Code:
MyComputerKeyboard.sendkeys("%F4"
Danke erstmal

Aber bei mir kommt das hier:

Fehler 1 Der Name "MyComputerKeyboard" wurde nicht deklariert.


Edit: Habe VB 2008 E zur Info
The-Punisher is offline  
Old 10/26/2010, 19:28   #10
 
Project Rivalry's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,674
Received Thanks: 229
etwas googeln schadet nie....

PHP Code:
 SendKeys.Send("%{F4}"
Project Rivalry is offline  
Thanks
2 Users
Old 10/26/2010, 20:58   #11
 
elite*gold: 0
Join Date: Mar 2009
Posts: 3,963
Received Thanks: 1,584
Quote:
Originally Posted by The-Punisher View Post
Danke erstmal

Aber bei mir kommt das hier:

Fehler 1 Der Name "wurde nicht deklariert.

"My.Computer.Keyboard"

Die Punkte fehlen und hotkeys sind nach meinem Wissen was anderes...

z.b.

Das unter Public Class Form1 schreiben

Code:
 Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkeys As Long) As Integer
und das in einen timer der beim form load anfängt zu ticken

Code:
        Dim hotkey1 As Boolean
        Dim hotkey2 As Boolean
        


        'Hotkey1 = z.b Start
        'Hotkey2 = z.b. Stop
       

        hotkey1 = GetAsyncKeyState(Keys.F11) 'Hier noch hinschreiben welche taste in unserem fall die F11 gedrückt werden muss um das und das auszuführen
        hotkey2 = GetAsyncKeyState(Keys.F12)
     

if hotkey1 = true then
msgbox ("Stop")

else if hotkey2 = true then
Msgbox ("Start")
end if
Lg Algaten™
Algaten™ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Suche G1 credits..habe 2.11€ psc und cx4 dinar code+5kdinar code
08/04/2010 - WarRock Trading - 1 Replies
hey..suche g1 credits für 2,11 € psc reste und 5k dinar code + cx4storm code macht mir angebote...
Gebe Vip Hack Suche Storm Code oder 5k Dinar Code
07/25/2010 - WarRock Trading - 4 Replies
blubb
suche last chos code gebe RoM code
08/23/2009 - General Gaming Discussion - 3 Replies
wie oben gesgat ich such eine last chaos code aus der computer bild spiele ich gebe dafür den code von Runes of magic der in mein heft dabei war! pnt mich ein fach!
Need help with line code for looting Rare Items with auto hotkey
08/04/2009 - 12Sky2 - 10 Replies
Hi currently i have a fully working aoeing , 2-4 buff using , loooting , potting macro , it only loots all loots atm including junk unis , ive tried mesing with it to just pick up rares but ive made no progreas , was wondering if anyone can help me with the line of code i owuld need for it to select Rares within the ts2 window with the mouse click rather than just spamming loot key , any hints or ideas would be appreciated thanks



All times are GMT +1. The time now is 08:00.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.