Пример #1
0
def scrap(node, world, scraper_hints=None, node_hints=None):
    '''
    Scrap either using windows API or the graphic analysis
    '''
    active_window_rect = world.machine.helper.get_active_window_rect()

    if active_window_rect is None:
        scraper.scrap_state(node, world, scraper_hints, node_hints)
        node.name = suggest_node_name('User Access Control', node)
        #node.file_name = suggest_node_file_name(node)
    else:
        window_scrap.custom_scraper(node, world)
Пример #2
0
def scrap(node, world, scraper_hints=None, node_hints=None):
    """
    Scrap either using windows API or the graphic analysis
    """
    active_window_rect = world.machine.helper.get_active_window_rect()

    if active_window_rect is None:
        scraper.scrap_state(node, world, scraper_hints, node_hints)
        node.name = suggest_node_name("User Access Control", node)
        # node.file_name = suggest_node_file_name(node)
    else:
        window_scrap.custom_scraper(node, world)
Пример #3
0
'''
Пример #4
0
'''