summaryrefslogtreecommitdiff
path: root/Scripts/mayHem.py
diff options
context:
space:
mode:
authorJulian Teu <julianteule@gmail.com>2018-04-10 18:07:28 +0200
committerJulian Teu <julianteule@gmail.com>2018-04-10 18:07:28 +0200
commit3e00fc23117a6fbb91d5ca09602f8006c3f2365a (patch)
tree4e3f2288424a5c09e9815eff04719f620cd7b321 /Scripts/mayHem.py
parenta3443fca6351cbe9ecbbe29a32e358f7534a92a6 (diff)
Cleanup
Diffstat (limited to 'Scripts/mayHem.py')
-rw-r--r--Scripts/mayHem.py30
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)