Please feel free to provide feedback or file bugs here.

Can you add some stuff to Get-ClipBoard?

I would have liked the default behaviour to be that an array of newline-split strings was returned from Get-ClipBoard. 97 % of the time I end up writing (Get-ClipBoard) -split "\r?\n" | ...... often filtering out empty elements - and that's just boring.

In my own version I used -Raw for a string and nothing for an array/list.

Of course you can't change that now in the 5.x version (or later, sigh, will this be our doom in some distant future), but can you maybe add at least -AsArray or similar? Make it so it can only be used with text, I guess. I see some other stuff in -Format I haven't tried yet.

A sort of implementation of the text part that I'd like is put up here on GitHub and demonstrates some things I'd want as well (I don't mean to start a storm with the little thought piece ;) https://github.com/EliteLoser/Get-Clip

3 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Joakim SvendsenJoakim Svendsen shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base