Sağ Tıklama Sayısını Arttırmak
-
Merhaba hocalar bi timer veya artık ne kullanılarak mouse sağ click olayının sayısını arttırabilirim ?
Yani şöyleki; ben mouse'un sağ tuşuna bir defa tıkladığımda 10 defa tıklatacak. Bunu nasıl yapabilirim ? Şimdiden teşekkürler.
-
hojam tam emin değilim ama sanırım sen mouse'un sağ tuşuna bir defa tıkladığında 10 defa tıklatmasının tek yolu, sen mouse'un sağ tuşuna bir defa tıkladığında 10 defa tıklaması :|
-
auto click o işi yapıyordu sanırım
http://www.brothersoft.com/autoclick-51202.html
bir dene istersen
-
zalimadam bunu yazdı:
-----------------------------
auto click o işi yapıyordu sanırım
http://www.brothersoft.com/autoclick-51202.html
bir dene istersen
-----------------------------hocam hazır bir paket program lazım değil :( Bana o işi yapacak kod parçacığının ucundan azcıkta olsa bir ipucu
-
Up
-
Knight'mı oynuyorsun hocam ?
-
BUnu ben COD oynarken kullanırdım eskiden.
-
Melik bunu yazdı:
-----------------------------
Knight'mı oynuyorsun hocam ?
-----------------------------kalp kalbe karşı derler :P
-
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace MouseTiklattirici { public partial class Form1 : Form { public Form1() { InitializeComponent(); } #region MouseOtomatikTikla //Mouse tıklama yapmak için kullandığımız api [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mouse_event(Int32 dwFlags, Int32 dx, Int32 dy, Int32 cButtons, Int32 dwExtraInfo); private const int MOUSEEVENTF_LEFTDOWN = 0x02; private const int MOUSEEVENTF_LEFTUP = 0x04; private const int MOUSEEVENTF_RIGHTDOWN = 0x08; private const int MOUSEEVENTF_RIGHTUP = 0x10; private void SagTikla() { int X = Cursor.Position.X; int Y = Cursor.Position.Y; mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP, X, Y, 0, 0); } #endregion private void Form1_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { timer1.Start(); } } private void timer1_Tick(object sender, EventArgs e) { SagTikla(); } } } -
yaptıysan paylasırmısın :))
-
aLsanCaK bunu yazdı:
-----------------------------
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace MouseTiklattirici { public partial class Form1 : Form { public Form1() { InitializeComponent(); } #region MouseOtomatikTikla //Mouse tıklama yapmak için kullandığımız api [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mouse_event(Int32 dwFlags, Int32 dx, Int32 dy, Int32 cButtons, Int32 dwExtraInfo); private const int MOUSEEVENTF_LEFTDOWN = 0x02; private const int MOUSEEVENTF_LEFTUP = 0x04; private const int MOUSEEVENTF_RIGHTDOWN = 0x08; private const int MOUSEEVENTF_RIGHTUP = 0x10; private void SagTikla() { int X = Cursor.Position.X; int Y = Cursor.Position.Y; mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP, X, Y, 0, 0); } #endregion private void Form1_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { timer1.Start(); } } private void timer1_Tick(object sender, EventArgs e) { SagTikla(); } } }
-----------------------------Aradığım bu değil ama hocam :/ Bu otomatik tıklıyor kordinatlara
Arkadaşın biri için yapacağım knight oynuyormuş.
