|
You last visited: Today at 06:22
Advertisement
VB Bot-Codeing Problem (Anweisung...)
Discussion on VB Bot-Codeing Problem (Anweisung...) within the .NET Languages forum part of the Coders Den category.
11/04/2010, 09:43
|
#1
|
elite*gold: 0
Join Date: Oct 2010
Posts: 249
Received Thanks: 164
|
VB Bot-Codeing Problem (Anweisung...)
Ich möchte in VB ein Bot Coden (NUR IN VB!)
Meine Probleme:
Was ist der Begriff für Tabulator?
Wie mach ich das am besten (nicht mit Sendkeys)
sondern mit? ich glaube die Anweisung war Process.send???
Danke im Vorraus!!
 
|
|
|
11/04/2010, 11:25
|
#2
|
elite*gold: 0
Join Date: Nov 2010
Posts: 40
Received Thanks: 24
|
Quote:
Originally Posted by SuperY456
Ich möchte in VB ein Bot Coden (NUR IN VB!)
Meine Probleme:
Was ist der Begriff für Tabulator?
Wie mach ich das am besten (nicht mit Sendkeys)
sondern mit? ich glaube die Anweisung war Process.send???
Danke im Vorraus!!
  
|
würde mich auch interessieren...
|
|
|
11/04/2010, 16:52
|
#3
|
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
|
Und jetzt nochmal auf Deutsch.
|
|
|
11/04/2010, 17:04
|
#4
|
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 86
|
Also die Tabulator-Taste heißt einfach Tab
Senkeys.Send(Keys.Tab)
Beim rest müsstest du dich etwas genauer ausdrücken sonst weiß keiner was du machen möchtest!
|
|
|
11/04/2010, 17:14
|
#5
|
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
|
Quote:
Originally Posted by Kuchenfreak™
Senkeys.Send(Keys.Tab)
|
Quote:
|
Wie mach ich das am besten (nicht mit Sendkeys)
|
Ich denke mit dem Zitat ist alles gesagt
|
|
|
11/04/2010, 17:29
|
#6
|
elite*gold: 0
Join Date: Nov 2010
Posts: 40
Received Thanks: 24
|
Quote:
Originally Posted by Kuchenfreak™
Also die Tabulator-Taste heißt einfach Tab
Senkeys.Send(Keys.Tab)
Beim rest müsstest du dich etwas genauer ausdrücken sonst weiß keiner was du machen möchtest!
|
also ich möchte eine tastenkombi an den Prozess TClient.exe schicken...
|
|
|
11/04/2010, 17:37
|
#7
|
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
|
Wie lautet die Tastenkombination denn?
Ist der Prozess irgendwie vor Eingriffen geschützt?
|
|
|
11/04/2010, 17:43
|
#8
|
elite*gold: 0
Join Date: Nov 2010
Posts: 40
Received Thanks: 24
|
Quote:
Originally Posted by Mi4uric3
Wie lautet die Tastenkombination denn?
Ist der Prozess irgendwie vor Eingriffen geschützt?
|
jo. aber ich weiß ja nicht wie der heißt...
deshalb frage ich
|
|
|
11/04/2010, 19:03
|
#9
|
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
|
Nach virtual keycodes suchen muss echt schwer sein :<
|
|
|
11/04/2010, 20:37
|
#10
|
elite*gold: 0
Join Date: Nov 2010
Posts: 40
Received Thanks: 24
|
Quote:
Originally Posted by MoepMeep
Nach virtual keycodes suchen muss echt schwer sein :<
|
verstehe ich i-wie net erklährung bitte!
|
|
|
11/05/2010, 09:07
|
#11
|
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
|
 pew pew :>
|
|
|
11/05/2010, 12:10
|
#12
|
elite*gold: 0
Join Date: Nov 2010
Posts: 40
Received Thanks: 24
|
Quote:
Originally Posted by MoepMeep
 pew pew :>
|
wie setz ich das ein?
Mit
Code:
My.Computer.Keyboard.sendkeys("{VK_1}")
geht das nicht!
BITTE HILFE!!!!!!!!    :han dsdown:
|
|
|
11/05/2010, 16:19
|
#13
|
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
|
Dann Google halt nach "vb.net virtual-key codes benutzen"
Ist doch nicht so schwer.
|
|
|
11/06/2010, 12:49
|
#14
|
elite*gold: 0
Join Date: Jan 2010
Posts: 25
Received Thanks: 10
|
re
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Threading;
namespace BobbyBot
{
class SendMessageClass
{
[DllImport("user32.dll")]
public static extern int SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
IntPtr handle;
uint WM_KEYUP = 0x0101;
uint WM_KEYDOWN = 0x0100;
//liste
public int VK_TAB = 0x09;
public int VK_SPACE = 0x20;
public int VK_LEFT = 0x25;
public int VK_UP = 0x26;
public int VK_DOWN = 0x28;
public int VK_5 = 0x35;
public int VK_6 = 0x36;
//*****
public void SetHandle(int pid)
{
Process proc = Process.GetProcessById(pid);
handle = proc.MainWindowHandle;
}
public void SendDown(int VK)
{
SendMessage(handle, WM_KEYDOWN, VK, 0);
}
public void SendUp(int VK)
{
SendMessage(handle, WM_KEYUP, VK, 0);
}
public void SendWithDelay(int VK, int ms)
{
SendMessage(handle, WM_KEYDOWN, VK, 0);
Thread.Sleep(ms);
SendMessage(handle, WM_KEYUP, VK, 0);
}
}
}
und  eine weitere VK liste... dies ist im übrigen sendmessage und nicht sendkey... Vorteil: das programm kann im hintergrund laufen und die keys werden trotzdem gesendet
|
|
|
11/06/2010, 18:23
|
#15
|
elite*gold: 0
Join Date: Nov 2010
Posts: 40
Received Thanks: 24
|
Quote:
Originally Posted by togarda
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Threading;
namespace BobbyBot
{
class SendMessageClass
{
[DllImport("user32.dll")]
public static extern int SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
IntPtr handle;
uint WM_KEYUP = 0x0101;
uint WM_KEYDOWN = 0x0100;
//liste
public int VK_TAB = 0x09;
public int VK_SPACE = 0x20;
public int VK_LEFT = 0x25;
public int VK_UP = 0x26;
public int VK_DOWN = 0x28;
public int VK_5 = 0x35;
public int VK_6 = 0x36;
//*****
public void SetHandle(int pid)
{
Process proc = Process.GetProcessById(pid);
handle = proc.MainWindowHandle;
}
public void SendDown(int VK)
{
SendMessage(handle, WM_KEYDOWN, VK, 0);
}
public void SendUp(int VK)
{
SendMessage(handle, WM_KEYUP, VK, 0);
}
public void SendWithDelay(int VK, int ms)
{
SendMessage(handle, WM_KEYDOWN, VK, 0);
Thread.Sleep(ms);
SendMessage(handle, WM_KEYUP, VK, 0);
}
}
}
und  eine weitere VK liste... dies ist im übrigen sendmessage und nicht sendkey... Vorteil: das programm kann im hintergrund laufen und die keys werden trotzdem gesendet
|
ist das nicht für AutoIt???
|
|
|
 |
|
Similar Threads
|
Fragen über das Coden - Questions about codeing
05/23/2010 - General Coding - 2 Replies
Hallo epvp*coders,
Da es immer wieder Threads zum Thema Coden gab habe ich mir gedacht ,ich mach hier mal einen Thread auf damit nicht immer wegen einer Frage ein neues Thema aufgemacht wird.
Also alle Fragen zum Coden einfach hier rein.
Because there over and over again Threads to the subject codeing was I have thought to me, I not always make here sometimes a Thread on with it because of a question a new subject is opened.
|
anweisung
02/02/2010 - Rappelz - 6 Replies
Hey leute...
also mein kumpel spielt Rappelz is 46 oder so. Ich war bei ihm und fand das game nicht schlecht. Nun möchte ich ihn schön schnell einhohlen, habt ihr da tipps oder hacks oder sowas, die auch jmd versteht, der das game bis lvl 10 gespielt hat ? wäre echt toll
mfg lroxasl
|
Need 30$ O_O CODEING VIEW
11/17/2009 - 12Sky2 - 2 Replies
Hay you guys knwo me, Point blank i need 30$ what do you guys want em to code
<_< Ill code anythign resonable, i just need 30$ paypal
by 3:00 GMT +1
Buying somethign i need off Ebay so i can finally fix the computer
PLEASE PLEASE PLEASE 20 Hours Left, Need to fix my pc ill code / do anything
(resonable)
|
Personal Codeing teacher
04/21/2009 - Dekaron Private Server - 0 Replies
i am currently looking for a coder that is patient helpful and is willing to help me learn thats all im asking pm me if ur up to the task. fyi its for dekaron that im looking into learning how to code.
examples are how to edit basic weapons,integrate 145's into monsters, relics, chests etc... diteing monster exp, monster drops, weapons stats, etc...
Or can sumone message me on MSN [email protected] i need sumone to check my work i tryed to put the 145s inside the relic 3730 i put the item...
|
All times are GMT +1. The time now is 06:22.
|
|