Skip to main content

Monitor Clipboard changes and trigger related actions

Project description

clipboard_monitor

clipboard_monitor will monitor the clipboard changes anf trigger register events. It's very easy to use, for details please refer below commands

Usages

import clipboard_monitor 

def print_text(text):
	print("got text")
	print(text)

def print_files(files):
	print("got files")
	print(files)

def print_image(image):
	print("got image")
	image.save("./test.png")

clipboard_monitor.on_update(print)
clipboard_monitor.on_text(print_text)
clipboard_monitor.on_files(print_files)
clipboard_monitor.on_image(print_image)

clipboard_monitor.wait()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clipboard_monitor-1.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

clipboard_monitor-1.0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page