Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of multiple clipboard formats on Microsoft Windows #162

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Jan 2, 2020

  1. Create pythonpublish.yml

    nunobrum authored Jan 2, 2020
    Configuration menu
    Copy the full SHA
    28f78bb View commit details
    Browse the repository at this point in the history
  2. Added support for multiple Clipboard formats.

    Now copy and paste have an optional parameter on the windows version
    that specifies which clipboard format is to be used.
    It does so while maintaining compatibility with the usual
    usage:
    copy(text)
    text=paste()
    
    The usage with formats is the following
    copy(text, clipboard_format)
    paste(clipboard_format)
    
    Also, multiple formats can be copied if using
    copy({CF_UNICODETEXT: "this is the unicode text",
          CF_TEXT: b"This is the ascii text",
          CF_BITMAP: bitmap_image})
    paste_dict = paste([CF_TEXT, CF_UNICODETEXT])  # Pastes only these two
    paste_all = paste([])  # This pastes all available formats into a dictionary
    nunobrum committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    cae08ed View commit details
    Browse the repository at this point in the history
  3. Fixing encoding action to be only on text clipboard formats

    Reformatting code as per PEP formatting recommendations
    Adding PyCharm project settings
    nunobrum committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    9d07c33 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2020

  1. Configuration menu
    Copy the full SHA
    17793cc View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Configuration menu
    Copy the full SHA
    bfb8b41 View commit details
    Browse the repository at this point in the history