def args_needed(*args, **kwargs): shared.clip_ahk()
def command_executed(command_manager, command, args): if command.name in commands_to_clip_after: shared.clip_ahk()
def analyze_text_modified(*args): flag, text = args[3:5] if flag == 2 and text[-1] in string_module.whitespace: shared.clip_ahk()