Skip to content

attilam/grafx2-colorpick-osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

OS X System Color Picker Inside GrafX2!

I used to be a big fan of Brilliance on the Amiga, and I love GrafX2, but I've also gotten used to the OS X system color picker too much in recent years. Enter GrafX2's Brush Factory + Johan Nordberg's command line wrapper for the system color picker + some scripting attempt on my part, and BOOM: Awesomeness squared! (well, almost, see Known Issues)

Tested on Mac OS X 10.7, 10.8 and 10.9, with GrafX 2.4.

Installation

  1. Download the binary of color-pick (from the zip only bin/colorpick is needed), or compile it yourself.
  2. Copy the colorpick binary to its final place somewhere (I put it in ~/bin/)
  3. Copy colorpicker.lua into your GrafX2 scripts folder (usually /Applications/Grafx2.app/Contents/Resources/scripts/)
  4. if you put the colorpick binary somewhere other than ~/bin/ open colorpicker.lua in a text editor, and set the path to your colorpick binary
  5. Optional: in GrafX2 set a keyboard shortcut so you can invoke the script faster by right clicking the [FX] button, selecting colorpicker.lua and clicking inside the area below the file listing (I use Ctrl+Shit+`)
  6. Done :)

Usage

Select the color you want to modify with the left mouse button (the script always works with the currently selected foreground color) and invoke the script.

Known Issues

The script probably doesn't work well if GrafX2 is set to fullscreen mode; I cannot test this, because on my machine GrafX2 crashes whenever I try to set it to fullscreen.

If you switch to another app while the color picker is open GrafX2 will beachball when you switch back to it, and the color picker will disappear. To make it reappear, click its icon in the dock (it should look like a standard shell executable).

Sometimes when switching to another app and back while the color picker is open some keys also get stuck, in these cases press ESC, and it should return to normal.

About

OS X System Color Picker Inside GrafX2!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages