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 }
private static void OpenStartMenu() { var shell = new WshShell(); shell.SendKeys("^{ESC}"); }