Polyboard is an app that allows you to store upto 10 things in the clipboard simultaneously! As an avid coder, I've always wished for the ability to store multiple items inside the clipboard at once for efficiency and accessibility, so I tasked myself with the job of creating said program. By the time I was half way through, I discovered that Windows already had such a function build into its OS (press win + v), but I had made too much progress so I decided to continue anyway, and now I'm here.
My program is more streamlined for the average user, due to 2 main features that I've added:
Extract the zip file
Run the 'Polyboard.exe' file
Open the system tray, right click the clipboard icon and choose 'Start Application'
Copy up to 10 text items using the 'Ctrl+c' keyboard shortcut
Move any of the 10 items you copied to the active clipboard using the keyboard shortcut 'Ctrl+shift+int', where int is any integer from 0-9
Paste the selected item as many times as you like using 'Ctrl+v'
def on_press(key): vk = get_vk(key) #gets virtual key (http://www.tcl.tk/man/tcl8.4/TkCmd/keysyms.htm) pressed_vks.add(vk) for combination in combination_to_function: if is_combination_pressed(combination): #checks if specific key combination is pressed combination_to_function[combination]() def on_release(key): vk = get_vk(key) pressed_vks.remove(vk) #removes combination from set of currently pressed keys with Listener(on_press=on_press, on_release=on_release) as listener: listener.join()
app = QApplication() app.setQuitOnLastWindowClosed(False) icon = QIcon("final.png") tray = QSystemTrayIcon() #creates a system tray object tray.setIcon(icon) tray.setVisible(True) menu = QMenu() #adding menu options to the system tray object option1 = QAction("Start application") menu.addAction(option1) option1.triggered.connect(start) #runs 'start' function when option is selected quit = QAction("Quit application") menu.addAction(quit) quit.triggered.connect(app.quit) #closes app when option is selected tray.setContextMenu(menu) app.exec_() #running the GUI loop