| View previous topic :: View next topic |
| Author |
Message |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Wed Apr 26, 2006 9:49 pm Post subject: Crazy Scripting : ColorPicker GENIE 1.00 |
|
|
| Quote: |
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:
| Code: | CurrentColor := "FFFFFF"
SelectedColor := ColorPicker(CurrentColor)
Return
#Include ColorPicker.ahk |
- This Utility will ALSO run as standalone.
- Will remember its last GUI Position ( through INI File )
- 16 Favorite colors can be stored ( through INI File).
When 17th color is added 1st Color will be removed
- One may use the Colors.htm provided in the bundle to select favorite colors.
- ColorPicker_GENIE(.ahk) is an example of a superscript that calls the ColorPicker() effectively.
Credits :
|
| Quote: |
[ 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
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.
|
| Quote: |
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.
|
Feedback will be highly appreciated .. Regards,
Edit: 3-Jul-2008 : An updated version of Color Picker Genie has been Posted Vixay Xavier here: 205684
Last edited by SKAN on Thu Jul 03, 2008 11:02 am; edited 5 times in total |
|
| Back to top |
|
 |
AGU Guest
|
Posted: Thu Apr 27, 2006 12:07 am Post subject: |
|
|
Man, this is breathtaking.
This will definitely help me a lot for webdesigning. A nice, quick and useful little helper.
____________________
Cheers
AGU |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Thu Apr 27, 2006 6:56 pm Post subject: |
|
|
| AGU wrote: | Man, this is breathtaking.
This will definitely help me a lot for webdesigning. A nice, quick and useful little helper.
____________________
Cheers
AGU |
Thanks a lot AGU .. Regards,  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Fri Apr 28, 2006 12:29 pm Post subject: |
|
|
Noboby else ?!!
PS: .. and I thought I had presented the most Colorful GUI that would ever be written in AHK.  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
bLisTeRinG
Joined: 15 Nov 2004 Posts: 45 Location: Warrnambool
|
Posted: Thu May 11, 2006 11:52 am Post subject: Crazy like a loon! |
|
|
This is the colour-picker I always wanted! Very stable, works just as you said (on my 'adapted' win98se system).
I'm taking my old colour-picker down to the recycling station.
Thanks |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Thu May 11, 2006 12:13 pm Post subject: |
|
|
Dear bLisTeRing,
Thanks for posting your view ( and *bumping* this Topic )
Its very nice for me to know someone really likes this Util.
Color Picker 2.00 will released soon. Download link for Color Picker 1.00 will still be provided.
What about the GENIE? Do you feel some feature could be added to it? Or just keep it simple?
Regards,  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
Lego_Coder
Joined: 03 Dec 2005 Posts: 8
|
Posted: Sat May 27, 2006 11:22 pm Post subject: |
|
|
Very nice!
Thanks for taking the load off me
Cheers |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Sun May 28, 2006 7:39 am Post subject: |
|
|
| Lego_Coder wrote: | | Very nice! |
Thanks  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
Winkie
Joined: 11 Apr 2006 Posts: 8 Location: The Netherlands
|
Posted: Mon May 29, 2006 1:56 pm Post subject: |
|
|
Very nice and small script!
| Goyyah wrote: | | What about the GENIE? Do you feel some feature could be added to it? Or just keep it simple? |
A feature whats missing is a a colorpicker.
I'm going to implement Skrommels WhatColor myself. _________________ Winkie |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Mon May 29, 2006 2:33 pm Post subject: |
|
|
Dear Winkie,
| You wrote: | | Very nice and small script! |
Thanks!
| You wrote: | | A feature whats missing is a a colorpicker. |
Yes it does lack! I am planning to add this feature to the ColorPicker itself instead of the Genie!.
Thanks for the suggestion..
Regards,  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Sat Jun 17, 2006 5:12 pm Post subject: |
|
|
ColorPicker Tool has been updated from 1.00 Beta to 1.20 Beta.
Snapshot of Version 1.00 Beta:
Snapshot of Version 1.20 Beta:
Added Feature:- Gradient Colorband for better selection of lighter/darker shade of a Color.
- Gradient Colorband will be updated whenever Current, Previous, Basic Colors,
Favorite Colors are clicked upon.
Download ColorPicker 1.20 Beta [13.6K]
Last edited by SKAN on Tue Jun 17, 2008 2:39 pm; edited 1 time in total |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sat Jun 17, 2006 6:45 pm Post subject: |
|
|
cool work there Goyyah!
this is a nifty tool. _________________
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Mon Jun 19, 2006 2:57 pm Post subject: |
|
|
Good alternative to the colour-select dialog box.
Suggestion: why not add support for CMYK - it will help with image editing. _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
Roland
Joined: 08 Jun 2006 Posts: 244
|
Posted: Mon Jun 19, 2006 8:29 pm Post subject: |
|
|
Very nice Goyyah! Love it.
Two suggestions if I may:
Turning critical off before "WinWaitClose" prevents the script from crashing when the ColorPicker is called from a critical thread. I should know that, but managed to do it anyway right away.
The mouse pointer often gets stuck when clicking on a listview - you can prevent that by using "-Multi" in the listview options.´
Thanks for this great tool. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Wed Jun 21, 2006 2:08 pm Post subject: |
|
|
| Rajat wrote: | cool work there Goyyah!
this is a nifty tool. |
Thanks for trying this utility Rajat .
| Titan wrote: | Good alternative to the colour-select dialog box.
Suggestion: why not add support for CMYK - it will help with image editing. |
Thanks for the suggestion! I will look into it.
| Roland wrote: | Two suggestions if I may:
Turning critical off before "WinWaitClose" prevents the script from crashing when the ColorPicker is called from a critical thread. I should know that, but managed to do it anyway right away.
The mouse pointer often gets stuck when clicking on a listview - you can prevent that by using "-Multi" in the listview options.´ |
Thats a very valuable feedback! Many thanks Roland.
I will post the updated code soon.
Regards to all  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
|