This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import stringcase | |
# very simple logger | |
# def log(line): | |
# system.exec_command('echo "{}" >> /tmp/autokey.log'.format(line)) | |
# getting selected text | |
try: | |
phrase = clipboard.get_selection() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from os import walk | |
from os.path import join | |
# very simple logger | |
def log(line): | |
system.exec_command('echo "{}" >> /tmp/autokey.log'.format(line)) |