• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python myTools.pressSHIFTTAB函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中myTools.pressSHIFTTAB函数的典型用法代码示例。如果您正苦于以下问题:Python pressSHIFTTAB函数的具体用法?Python pressSHIFTTAB怎么用?Python pressSHIFTTAB使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了pressSHIFTTAB函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: fLink_Accounts_Refund

def fLink_Accounts_Refund():
#---------------------------------------------------#

    myTools.pressDOWN(1)                # Refund comp
    myTools.pressTAB(1)
    type("Refund")
    myTools.pressSHIFTTAB(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:7,代码来源:settings_TAL.py


示例2: fChoose_CSV_Print

def fChoose_CSV_Print(pReportName):
#---------------------------------------------------#

    logging.debug('- fChoose_CSV_Print')

    # choose CSV
    myTools.pressSHIFTTAB(2)
    time.sleep(1)
    type("c")
    time.sleep(1)

    # print the report
    type(Key.ENTER)    
    time.sleep(1)

    # fill in path and name; press ENTER    
    type(Settings.repFolder + "\\" + pReportName)
    time.sleep(1)

    # export titles
    myTools.pressTAB(2)
    time.sleep(1)
    type(Key.SPACE)    
    time.sleep(1)

    # OK
    type(Key.ENTER)    
开发者ID:gh-tomhinds,项目名称:Test_It_All,代码行数:27,代码来源:report_UDSlip.py


示例3: fPrint_InvoiceListing

def fPrint_InvoiceListing(pReportMonth, pRepExt):
    # ---------------------------------------------------#

    myTools.sectionStartTimeStamp("print invoicelist")

    # name report file: ex: UDSlip1-03
    reportName = myTools.buildRepName("InvList", pRepExt)
    logging.debug("Print_InvoiceList: " + reportName)
    myTools.getFocus()

    logging.debug("- open report list")
    type("r", KeyModifier.ALT)
    type("a")
    time.sleep(1)

    logging.debug("- choose report")
    type("i")
    time.sleep(1)

    # choose txt
    myTools.pressSHIFTTAB(2)
    time.sleep(1)
    type("t")
    time.sleep(1)

    myTools.enterYearToDateOnList(pReportMonth)

    # print the report
    type(Key.ENTER)
    time.sleep(1)

    myTools.finishReport(reportName)
开发者ID:gh-tomhinds,项目名称:Test_It_All,代码行数:32,代码来源:report_InvoiceListing.py


示例4: setupCustomFilter

def setupCustomFilter():
#---------------------------------------------------#
    """ sets up custom filter Client List; only used by fPrint_PreBill_2 """

    logging.debug('- setupCustomFilter')

    wait("slip_trans_date.png",60)                
    time.sleep(1)                
    
    click("slip_trans_date.png")
    time.sleep(1)

    # switch to the client group
    myTools.pressSHIFTTAB(1)
    type("c")
    time.sleep(1)

    # choose Client List
    myTools.pressTAB(1)
    myTools.pressDOWN(7)
    click("add_filter.png")
    time.sleep(1)

    # mark All
    type(Key.INSERT)
    time.sleep(1)

    # remove Franklin
    myTools.pressDOWN(5)
    type(Key.F4,KeyModifier.SHIFT)

    # press OK
    myTools.pressTAB(1)
    type(Key.ENTER)
    time.sleep(1)
开发者ID:gh-tomhinds,项目名称:Test_It_All,代码行数:35,代码来源:report_PBWorksheet.py


示例5: setupReport

def setupReport():
#---------------------------------------------------#

    # open report
    type("o",KeyModifier.CTRL)
    time.sleep(1)

    logging.debug('- default options')
    # options button
    myTools.pressSHIFTTAB(4)
    type(Key.ENTER)
    time.sleep(1)
    
    # default button   
    myTools.pressSHIFTTAB(4)
    type(Key.ENTER)
    time.sleep(1)

    # close dialog
    myTools.pressTAB(1)
    type(Key.ENTER)
    time.sleep(1)   

    logging.debug('- print report')

    # move to Print To and choose CSV
    myTools.pressTAB(2)
    type("c")
    time.sleep(1)

    # print the report
    type(Key.ENTER)    
    time.sleep(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:33,代码来源:report_Budgets.py


示例6: fImport_DefaultLayout

def fImport_DefaultLayout():
#---------------------------------------------------#

    fImport_Layout("Low Detail")

    logging.debug('- assign layout')
    type("a",KeyModifier.ALT)
    time.sleep(1)

    # shift tab to open/templates control
    myTools.pressSHIFTTAB(1)
    time.sleep(1)

    # press RIGHT to Template Clients
    myTools.pressRIGHT(1)
    time.sleep(1)

    # press TAB to client list
    myTools.pressTAB(1)
    time.sleep(1)

    #press F4 to mark template    
    type(Key.F4)
    time.sleep(1)

    # assign
    type("a",KeyModifier.ALT)
    type(Key.ENTER)
    time.sleep(1)

    # confirm and close
    type(Key.ENTER)
    time.sleep(1)
    type(Key.F4,KeyModifier.CTRL)
    time.sleep(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:35,代码来源:ba__Common.py


示例7: fPrint_ARwRunBal

def fPrint_ARwRunBal(pReportMonth,pRepExt):
#---------------------------------------------------#

    myTools.sectionStartTimeStamp("print ARwRunBal")

    # name report file: ex: UDSlip1-03
    reportName = myTools.buildRepName("ARwRunBal",pRepExt)
    logging.debug('fPrint_ARwRunBal: ' + reportName)
    myTools.getFocus()

    logging.debug('- open report list')
    type("r",KeyModifier.ALT)
    type("a")
    time.sleep(1)

    logging.debug('- choose report')
    myTools.pressDOWN(2)
    time.sleep(1)

    # choose txt
    myTools.pressSHIFTTAB(2)
    time.sleep(1)
    type("t")
    time.sleep(1)

    myTools.enterCurrentMonthOnList(pReportMonth)

    # print the report
    type(Key.ENTER)    
    time.sleep(1)

    myTools.finishReport(reportName)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:32,代码来源:report_ARwRunBal.py


示例8: fLink_Accounts_Allowances

def fLink_Accounts_Allowances():
#---------------------------------------------------#

    myTools.pressDOWN(1)                # allowances comp
    myTools.pressTAB(1)
    type("Allowances")
    myTools.pressSHIFTTAB(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:7,代码来源:settings_TAL.py


示例9: fPrint_BABill

def fPrint_BABill(pBAClient, pBillNum):
    # ---------------------------------------------------#
    """
    backs up the database ("-before")
    prints the bill to text file
    approves the bill
    backs up the database ("-after")
    """

    baBillName = pBAClient + str(pBillNum)
    backup_Data.fBackup_Checkpoint(baBillName + "-before")

    myTools.sectionStartTimeStamp("ba bill")
    logging.debug("BA_Bill: " + baBillName)

    type("b", KeyModifier.CTRL)
    time.sleep(1)
    click("remove_filters.png")
    time.sleep(1)
    type(Key.ENTER)
    type(Key.DOWN)
    type(Key.TAB)
    type(Key.SPACE)
    type(pBAClient)
    time.sleep(1)
    type(Key.F4)
    type(Key.ENTER)

    myTools.pressSHIFTTAB(3)

    type("t")
    type(Key.ENTER)
    time.sleep(1)
    type(Settings.repFolder + "\\" + baBillName + ".txt")

    #    for checkmark in findAll("checkmark.png"):
    #        click(checkmark)

    time.sleep(1)
    type(Key.ENTER)
    time.sleep(1)

    if exists("replace_msg.png"):
        type(Key.ENTER)
        time.sleep(1)

    wait("approve_bill.png", FOREVER)
    click("approve_bill.png")
    type(Key.ENTER)
    time.sleep(1)

    if exists("select_report_to_print.png"):
        type(Key.ESC)

    type(Key.F4, KeyModifier.CTRL)
    time.sleep(1)
    type("n")

    myTools.sectionEndTimeStamp()
    backup_Data.fBackup_Checkpoint(baBillName + "-after")
开发者ID:gh-tomhinds,项目名称:Test_It_All,代码行数:60,代码来源:ba__Common.py


示例10: fPrint_BillsToText

def fPrint_BillsToText(pReportName):
#---------------------------------------------------#

    logging.debug("- print bills to text")

    type("b",KeyModifier.CTRL)
    time.sleep(1)

    myTools.pressSHIFTTAB(3)    # get to Print To
    time.sleep(1)
    type("t")                   # ensure Text File is selected
    time.sleep(1)

    # print bills to text
    logging.debug('-- print button')
    type(Key.ENTER)

    logging.debug('Printing: ' + pReportName)

    # fill in path and name; press ENTER
    type(Settings.repFolder + "\\" + pReportName)
    time.sleep(1)
    type(Key.ENTER)    

    if exists("replace_it-1.png"):
        type(Key.ENTER)
        time.sleep(1)

    fWait_ForBills()
    fClose_ReportEntry()
开发者ID:gh-tomhinds,项目名称:Test_It_All,代码行数:30,代码来源:bill_BillFields.py


示例11: fPrint_FeeAllocPer

def fPrint_FeeAllocPer(pReportMonth,pRepExt):
#---------------------------------------------------#

    myTools.sectionStartTimeStamp("print FeeAllocPer")

    # name report file: ex: PreBill-03
    reportName = myTools.buildRepName("FeeAllocPer",pRepExt)
    logging.debug('Print_FeeAllocPer: ' + reportName)

    # make sure timeslips has focus
    myTools.getFocus()

    logging.debug('- open FeeAllocPer')
    type("r",KeyModifier.ALT)
    type("t")
    time.sleep(1)
    myTools.pressDOWN(3)
    time.sleep(1)    

    # choose csv
    myTools.pressSHIFTTAB(2)
    type("c")
    time.sleep(1)

    myTools.enterCurrentMonthOnList(pReportMonth)

    # print the report
    type(Key.ENTER)    
    time.sleep(1)

    myTools.finishReport(reportName)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:31,代码来源:report_FeeAllocPer.py


示例12: fLink_Accounts_Interest

def fLink_Accounts_Interest():
#---------------------------------------------------#

    myTools.pressDOWN(3)                # Interest comp
    myTools.pressTAB(1)
    type("Interest")
    myTools.pressSHIFTTAB(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:7,代码来源:settings_TAL.py


示例13: fLink_Accounts_WO

def fLink_Accounts_WO():
#---------------------------------------------------#

    myTools.pressDOWN(1)                # WO comp
    myTools.pressTAB(1)
    type("WriteOff")
    myTools.pressSHIFTTAB(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:7,代码来源:settings_TAL.py


示例14: fPrint_FlatFee

def fPrint_FlatFee(pReportMonth,pRepExt):
#---------------------------------------------------#

    myTools.sectionStartTimeStamp("print FlatFee")

    # name report file: ex: ARAgedBal-03
    reportName = myTools.buildRepName("FlatFee",pRepExt)    
    logging.debug('Print_FlatFee: ' + reportName)

    # make sure timeslips has focus
    myTools.getFocus()

    logging.debug('- open report')
    type("r",KeyModifier.ALT)
    type("c")
    time.sleep(1)
    type("f")
    time.sleep(1)

    # move to Print To and choose CSV
    myTools.pressSHIFTTAB(2)
    time.sleep(1)
    type("c")

    # print the report
    type(Key.ENTER)    
    time.sleep(1)

    myTools.finishReport(reportName)
开发者ID:gh-tomhinds,项目名称:Test_It_All,代码行数:29,代码来源:report_FlatFee.py


示例15: fLink_Accounts_Suspense

def fLink_Accounts_Suspense():
#---------------------------------------------------#

    myTools.pressDOWN(1)                # suspense comp
    myTools.pressTAB(1)
    type("Suspense")
    myTools.pressSHIFTTAB(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:7,代码来源:settings_TAL.py


示例16: Print_TkCC

def Print_TkCC(pReportMonth,pRepExt):
#---------------------------------------------------#

    myTools.sectionStartTimeStamp("print tkcc")

    # name report file: ex: TkCC-03
    reportName = myTools.buildRepName("TkCC",pRepExt)
    logging.debug('Print_TkCC: ' + reportName)

    # make sure timeslips has focus
    myTools.getFocus()

    logging.debug('- open report')
    type("r",KeyModifier.ALT)
    type("t")
    time.sleep(2)   
    type("timekeeper cont")    
    time.sleep(1)
    myTools.pressDOWN(1)
    time.sleep(1)
    type("o",KeyModifier.CTRL)
    time.sleep(1)

    logging.debug('- default options')

    # options button
    myTools.pressSHIFTTAB(4)
    type(Key.ENTER)
    time.sleep(1)
    
    # default button   
    myTools.pressSHIFTTAB(4)
    type(Key.ENTER)
    time.sleep(1)

    # show client breakdown   
    myTools.pressTAB(4)
    type(Key.SPACE)
    time.sleep(1)

    # close dialog
    type(Key.ENTER)
    time.sleep(1)   

    logging.debug('- print report')

    # move to Print To and choose CSV
    myTools.pressTAB(2)
    type("c")
    time.sleep(1)

    if pReportMonth != 13:
        Filter_SplitClients()

    # print the report
    type(Key.ENTER)    
    time.sleep(1)

    myTools.finishReport(reportName)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:59,代码来源:report_TkCC.py


示例17: fPrint_AgedClient

def fPrint_AgedClient(pReportMonth,pRepExt):
#---------------------------------------------------#

    myTools.sectionStartTimeStamp("print AgedClient")

    # name report file: ex: PreBill-03
    reportName = myTools.buildRepName("AgedClient",pRepExt)
    logging.debug('Print_AgedClient: ' + reportName)

    # make sure timeslips has focus
    myTools.getFocus()

    logging.debug('- open PayPerf')
    type("r",KeyModifier.ALT)
    type("c")
    time.sleep(1)
    myTools.pressDOWN(1)
    time.sleep(1)
    
    logging.debug('- set up report')
    type("o",KeyModifier.CTRL)
    
    # Options
    myTools.pressSHIFTTAB(4)
    type(Key.SPACE)
    time.sleep(1)

    # Default
    myTools.pressSHIFTTAB(4)
    type(Key.SPACE)
    time.sleep(1)

    # Show hours
    myTools.pressTAB(10)
    type(Key.SPACE)
    time.sleep(1)

    # Show Adjustment columns
    myTools.pressTAB(1)
    type(Key.SPACE)
    time.sleep(1)

    # OK
    type(Key.ENTER)
    time.sleep(1)

    # choose csv
    myTools.pressTAB(2)
    type("c")
    time.sleep(1)

    myTools.enterSlipFilter(pReportMonth,"yy")

    # print the report
    type(Key.ENTER)    
    time.sleep(1)

    myTools.finishReport(reportName)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:58,代码来源:report_AgedClient.py


示例18: fLink_Accounts_ProgBilling

def fLink_Accounts_ProgBilling():
#---------------------------------------------------#

    myTools.pressDOWN(1)                # progbill comp
    myTools.pressTAB(1)
    type("ProgBilling-Comp")
    myTools.pressSHIFTTAB(1)
    
    time.sleep(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:9,代码来源:settings_TAL.py


示例19: fLink_Accounts_ClientEscrow

def fLink_Accounts_ClientEscrow():
#---------------------------------------------------#

    myTools.pressDOWN(3)                # clientescrow comp
    myTools.pressTAB(1)
    type("ClientEscrow-Comp")
    myTools.pressSHIFTTAB(1)
    
    time.sleep(1)
开发者ID:gh-tomhinds,项目名称:ConfirmDataEntry,代码行数:9,代码来源:settings_TAL.py


示例20: fSetup_PayDist

def fSetup_PayDist():
    # ---------------------------------------------------#

    myTools.sectionStartTimeStamp("setup pay dist")
    logging.debug("- set up pay dist")

    myTools.getFocus()

    # open client list
    type("i", KeyModifier.CTRL)
    time.sleep(2)

    # open Nahant
    type("n")
    type(Key.ENTER)
    time.sleep(1)

    # get to payment distribution fields

    if Settings.tsVersion > "2014":
        myTools.pressF6(8)
        time.sleep(1)
        myTools.pressTAB(6)
        time.sleep(1)
    else:
        myTools.pressF6(5)
        time.sleep(1)
        myTools.pressSHIFTTAB(7)
        time.sleep(1)

    # First Pay = Newest
    type("n")
    time.sleep(1)

    # Order = Costs/Fees/Int
    myTools.pressTAB(1)
    type("c")
    time.sleep(1)

    # First Pay = Charge Type
    myTools.pressTAB(1)
    type("c")
    time.sleep(1)

    # save
    type("s", KeyModifier.CTRL)
    time.sleep(1)

    fExport_ClientSettings()

    type(Key.F4, KeyModifier.CTRL)
    time.sleep(1)
    type(Key.F4, KeyModifier.CTRL)

    myTools.sectionEndTimeStamp()
开发者ID:gh-tomhinds,项目名称:Test_It_All,代码行数:55,代码来源:client_PayDistrib.py



注:本文中的myTools.pressSHIFTTAB函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python myTools.pressTAB函数代码示例发布时间:2022-05-27
下一篇:
Python myTools.pressDOWN函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap