Skip to main content

Monitor Clipboard changes and trigger related actions

Project description

clipboard_monitor

Clipboard Monitor will monitor the clipboard changes and 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.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

clipboard_monitor-1.0.3-py3-none-any.whl (3.6 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