def mail(body): chili.open_url('mailto:%%20?body=%s' % body) chili.close(reactivate=False)
def type_(text): chili.close() time.sleep(0.5) chili.keyboard.type_string(text)