Resources and Support
 Pixel Joint Forum : The Lounge : Resources and Support
Message Icon Topic: GrafX2 color picker script [Linux] Post Reply Post New Topic
Author Message
neota
Commander
Commander
Avatar

Joined: 27 November 2018
Online Status: Offline
Posts: 158
Quote neota Replybullet Topic: GrafX2 color picker script [Linux]
    Posted: 24 April 2013 at 4:11pm
I finally got around to coding that colorpicker script for GrafX2 under Linux, based on the 'grabc' program. (If you're using MacOSX, there is already one). FYI: GrafX2's interface has to work on a lot of platforms, so they have minimal access to platform-specific stuff (eg. being able to look at the contents of other windows); the built in colorpicker is only effective inside GrafX2.

I made both cycling (moves to next color index after picking) and non-cycling versions. Usually use 'cycling', because I mainly want to pick ramps rather than single colors. You can use this for example to pick colors from GPick's "blend colors' panel:


Both versions of the script are available here.
I recommend binding one or both to a keyboard shortcut for convenient usage.
Note: you'll need to have the grabc package installed first.
absolutely.
IP IP Logged
neota
Commander
Commander
Avatar

Joined: 27 November 2018
Online Status: Offline
Posts: 158
Quote neota Replybullet Posted: 04 May 2013 at 4:46pm
BTW if you prefer to copy and paste multiple colors at once, I've just made some scripts for that too. For now they are posted here. They understand/output hex codes, GPL lines, CSS rgb, and CSV. Multiple lines are treated as multiple colors.

Since GPick will happily copy multiple colors, this is now my color importing tool of choice. Now just to make GPick paste multiple colors the same way.. (it currently just reads the first line/color, in spite of the fact that it outputs multiple lines, heh)


Edited by neota - 04 May 2013 at 4:48pm
absolutely.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum