Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Threading;
- using System.Windows.Forms;
- namespace KeyPusher
- {
- class Program
- {
- static void Main(string[] args)
- {
- int interval = 0;
- Console.WriteLine("Введи интервал в мс:");
- interval = Convert.ToInt32(Console.ReadLine());
- while (true)
- {
- Console.WriteLine("Нажатие . . .");
- SendKeys.SendWait(" ");
- Thread.Sleep(interval);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment