From 3e00fc23117a6fbb91d5ca09602f8006c3f2365a Mon Sep 17 00:00:00 2001 From: Julian Teu Date: Tue, 10 Apr 2018 18:07:28 +0200 Subject: Cleanup --- Scripts/mayHem.py | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 Scripts/mayHem.py (limited to 'Scripts/mayHem.py') 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) -- cgit v1.2.3