Ejemplo n.º 1
0
def SelectAndRunHelpFile():
    from pywin.dialogs import list
    helpFiles = ListAllHelpFiles()
    if len(helpFiles) == 1:
        # only 1 help file registered - probably ours - no point asking
        index = 0
    else:
        index = list.SelectFromLists("Select Help file", helpFiles, ["Title"])
    if index is not None:
        OpenHelpFile(helpFiles[index][1])
Ejemplo n.º 2
0
def SelectAndRunHelpFile():
    from pywin.dialogs import list
    helpFiles = ListAllHelpFiles()
    index = list.SelectFromLists("Select Help file", helpFiles, ["Title"])
    if index is not None:
        OpenHelpFile(helpFiles[index][1])