Usage Examples#

set text#

import clipette
if clipette.open_clipboard():
    clipette.empty_cliboard()
    clipette.set_UNICODETEXT("<some text>")
    clipette.close_clipboard()

 

get PNG#

import clipette
if clipette.open_clipboard():
    clipette.get_PNG("<filepath to save into>", "<filename>")
    clipette.close_clipboard()