예제 #1
0
def main():
    try:
        text_manipulate.manipulator(lambda text: text, empty_clipboard=True)
    except Exception as e:
        import ipdb;

        ipdb.set_trace()
        input()
예제 #2
0
def main(flip_clipboard=False, mark_all=False):
    try:
        if flip_clipboard:
            text_manipulate.manipulator(function=layout_switcher.switch_layout)
        else:
            text_manipulate.manipulator_with_keyboard(function=layout_switcher.switch_layout, replace_source=True,
                                                      mark_all=mark_all)
    except Exception as e:
        input(e.args)