Esempio n. 1
0
def getEmailDate():
    utils.bringFirefoxToFront("Mozilla Firefox")    
    clicked  = utils.clickImg("verse\showMoreLabel.PNG",30,0)
    pyautogui.moveTo(clicked.x+38, clicked.y-30)
    pyautogui.drag(-150,0,duration=0.25, button="left")
    pyautogui.hotkey("ctrl","c")
    return convertDate(pyperclip.paste())
Esempio n. 2
0
 def ClickResource(self):
     utils.clickImg(r"myhours\resource_arrow.PNG", x_offset=0,y_offset=0)
Esempio n. 3
0
 def ClickSearch(self):
     utils.clickImg("myhours\lupa.PNG", x_offset=0,y_offset=0)
Esempio n. 4
0
 def ClickOnSearchBox(self):
     utils.clickImg("myhours\lupa.PNG", x_offset=-100,y_offset=0)
Esempio n. 5
0
 def clickClearAllFiltes(self):
     utils.clickImg("myhours\clearall.PNG", x_offset=0,y_offset=0)
Esempio n. 6
0
 def attachFile(self,fileName):
     if fileName:
         utils.clickImg(r"verse\attach_icon.PNG", x_offset=0,y_offset=0, region=self.regionEmailHeader)
         pyautogui.typewrite(fileName)
         time.sleep(2)
         pyautogui.press("enter")
Esempio n. 7
0
 def focusSubject(self, wait=1):
     utils.clickImg(r"verse\attach_icon.PNG", x_offset=0,y_offset=-40,region=self.regionEmailHeader)
     time.sleep(wait)
Esempio n. 8
0
 def focusTo(self, wait=1):
     utils.clickImg(r"verse\to_label.PNG", x_offset=0,y_offset=0,region=self.regionEmailHeader)
     time.sleep(wait)
Esempio n. 9
0
 def clickCcCco(self, wait=1):
     utils.clickImg("verse\cc_button.PNG", x_offset=0,y_offset=0, region=self.regionEmailHeader)
     time.sleep(wait)
Esempio n. 10
0
 def clickCompose(self, wait=1):
     utils.clickImg("verse\compose_button.PNG", x_offset=0,y_offset=0)
     time.sleep(wait)