Esempio n. 1
0
 private static bool SetMailNameUsingMacro()
 {
     MailFrame.ClickMailFrame();
     Thread.Sleep(1000);
     MailFrame.ClickInboxTab();
     Thread.Sleep(500);
     KeyHelper.SendKey("MacroForMail");
     Thread.Sleep(500);
     if (!ClickSendMailTab())
     {
         return(false);
     }
     Thread.Sleep(500);
     return(true);
 }
Esempio n. 2
0
 private static bool ClickSendMailTab()
 {
     MailFrame.ClickMailFrame();
     Thread.Sleep(1000);
     MailFrame.ClickSendMailTabHooked();
     Thread.Sleep(500);
     if (!MailFrame.CurrentTabIsSendMail)
     {
         Thread.Sleep(500);
         MailFrame.ClickSendMailTabHooked();
         Thread.Sleep(500);
         if (!MailFrame.CurrentTabIsSendMail)
         {
             Logging.Write("Could not find mail frame");
             return(false);
         }
     }
     return(true);
 }