About the ColorPicker Tool - [ ColorPicker.ahk ]
You may use this ColorPicker Tool from your Script by including this script
and call it with ColorPicker() function.
Example:CurrentColor := "FFFFFF" SelectedColor := ColorPicker(CurrentColor) Return #Include ColorPicker.ahk
[*:r6g9qk7g]This Utility will ALSO run as standalone.
[*:r6g9qk7g]Will remember its last GUI Position ( through INI File )
[*:r6g9qk7g]16 Favorite colors can be stored ( through INI File).
When 17th color is added 1st Color will be removed
[*:r6g9qk7g]One may use the Colors.htm provided in the bundle to select favorite colors.
[*:r6g9qk7g]ColorPicker_GENIE(.ahk) is an example of a superscript that calls the ColorPicker() effectively.
Credits :
Inspired by / Ideas have been adapted from,
Krappy Color Picker
by Lego_Coder / Miguel Agullo
http://www.autohotke...opic.php?t=6693
Function StringSlice() called in this Utlity.
Written by me and posted @ http://www.autohotke...p?p=53084#53084
Mr.Laszlo Hars was very kind to optimise it & remove the bugs.
His Post is @ http://www.autohotke...p?p=53092#53092
[/list]
[ Helper App for AHK Scripting. ]
ColorPicker GENIE is a clipboard monitoring utility that waits until the Clipboard contains a Valid Color Code
and when finds one - pops up the ColorPicker Utility. The changed Color code will be pasted to the window
that was active when ColorPicker Popped up.
Amidst AHK Scripting, one may find a requirement to pick a suitable color for a GUI background, Text Control etc.
With ColorPicker GENIE running in the System Tray, life will be easier.
Insert a Color Code : Press Control+Win+Insert ... and the ColorPicker pops up. Select a Color and Press okay ... you're done.
Replace/Preview a Color code : Double Click on the Color Code - Right Click - Copy ... and the ColorPicker pops up.
Select a Color and Press okay ... you're done.
Supported prefixes for Color Codes are "c" and "#"
For eg. HEX Code for "White color" will pop-up the ColorPicker when found in Clipboard as
FFFFFF
cFFFFFF
#FFFFFF
Important Note: When AHK Scripting - "Double clicking" is enough for selecting the Color code. The leading or trailing spaces will be taken care of. The GENIE pastes back the edited Color code with exact number of leading/trailing spaces as found in clipboard.
Double clicking the "Tray Icon" will Pause/Resume the script. However manual insertion is always possible with hotkey Control+WIN+Insert.
Though written as a "Helper App" for/in AutoHotkey, this utility will be helpful for editing Color codes contained in HTML & AGU's BBCode Writer .
Note: This Script requires ColorPicker.ahk for functioning.
[/list]
Snapshots of ColorPicker GENIE @ work
The Prime use! Helping in AHK Scripting.
=> Just double click of the Color code - Right click - Copy ... and the ColorPicker pops up!
Just curious! Previewing a color code given in AutoHotkey Documentation!
Using it in AGU's BBCode Writer
Crazy!! I use it in PaintShop Pro 6.00
See the HTML Code provided as a edit field in PSP 6.
I modify it with ColorPicker GENIE because I find incrementing the
Color values to be more precise when done with ColorPicker GENIE`s Sliders.
DOWNLOAD:
[*:r6g9qk7g]ColorPicker 1.00 Beta [13.1K] - Added 27-Apr-2006
[*:r6g9qk7g] ColorPicker 1.20 Beta [13.6K] - Added 18-Jun-2006
Feedback will be highly appreciated .. Regards,
Edit: 3-Jul-2008 : An updated version of Color Picker Genie has been Posted Vixay Xavier here: 205684