Пример #1
0
        public void UseReel()
        {
            if ((DateTime.Now - lastReel) >= ReuseTime)
            {
                LoadShot();
                lastReel = DateTime.Now;
                WSH.AppActivate(ref app, ref BF);
                WSH.SendKeys(this.reelBtn, ref wait);
                this.shotLoaded = false;
            }
#if DEBUG
            Program.debugStream.WriteLine("UseReel");
#endif
        }
Пример #2
0
        private static void OpenStartMenu()
        {
            var shell = new WshShell();

            shell.SendKeys("^{ESC}");
        }