diff options
Diffstat (limited to 'Scripts/mayHem.py')
-rw-r--r-- | Scripts/mayHem.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Scripts/mayHem.py b/Scripts/mayHem.py deleted file mode 100644 index 6ac90d6..0000000 --- a/Scripts/mayHem.py +++ /dev/null @@ -1,30 +0,0 @@ -import os -import tkinter as tk -import time -root = tk.Tk() -root.withdraw() - -control_c_sequence = '''keydown Shift_L; -key Left; -keyup Shift_L; -keydown Control_L; -key x; -keyup Control_L -''' - -left = 'key Left' -right = 'key Right' - -def keypress(sequence): - #print(sequence.replace('\n', '')) - for item in sequence.replace('\n', '').split(';'): - print("xdotool " + item) - os.system("xdotool " + item) - - -keypress(right) -while(True): - keypress(control_c_sequence) - keypress("keydown Shift_L key " + root.clipboard_get() + " keyup Shift_L") - keypress(right) - keypress(right) |