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

Pick Color from Screen and saving value to clipboard #26

Open
ArkadiuszMichalski opened this issue Jan 6, 2016 · 2 comments
Open

Pick Color from Screen and saving value to clipboard #26

ArkadiuszMichalski opened this issue Jan 6, 2016 · 2 comments

Comments

@ArkadiuszMichalski
Copy link

Any chance add option for saving color to clipboard, not output color to actual cursor position in NPP? I often need to take color from screen for various programs (by using NPP) but it always modifies the current document which may lead to subsequent problems.

Interesting idea is saving color to clipboard when we press some key, like 1/2/3/4 etc, and various keys can represent different forms of color. Something simillar what we have in new DesktopOK 4.21 http://www.softwareok.com/?seite=Freeware/DesktopOK.

@nulled666
Copy link
Owner

Might be a "Pick to Clipboard" command, and you can assign hotkey yourself.
But in which color format?

@ArkadiuszMichalski
Copy link
Author

It depends on how exactly this is to be introduced, but it would be best to gave more options, minimum is #RRGGBB (like default what we have now), plus some decimal notation like rgb(RR,GG,BB) or just RR,GG,BB, and maybe HSL.

I'm not sure how "Pick to Clipboard" you want to implement, so first we must run "+ Pick Color from Screen" and after this run "Pick to Clipboard"? So what next, if color was saved then picker window will automatically close or we must press Esc?

Another option can be just put various command, like "Pick to Clipboard #RGB", "Pick to Clipboard (r,g,b)" etc., it will open picker window and when we press left mouse thet color goes to clipboard and picker window will automatically close. So we can set hotkey for standard command "+ Pick Color from Screen", and if anyone need only saving color then can do that and additionally choose what format want. But something simmilar can be done in previous solution, run command to open standard window picker + run command for saving color to clipboard (after this automatically close picker window).

You can also put one "Pick to Clipboard" command but add in option some checbox to choosing saving color format. In detail it depends on which variant you take. But even one #RRGGBB format is better than have nothing:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants