AutoHotkey Community

It is currently May 27th, 2012, 7:18 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: April 26th, 2006, 9:49 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Quote:
    About the ColorPicker Tool - [ ColorPicker.ahk ]

    Image

    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:

    Image [ 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.



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!

    Image

    Just curious! Previewing a color code given in AutoHotkey Documentation! :)

    Image

    Using it in AGU's BBCode Writer :)

    Image

    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.

    Image





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 July 3rd, 2008, 11:02 am, edited 5 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2006, 12:07 am 
Man, this is breathtaking. :mrgreen:

This will definitely help me a lot for webdesigning. A nice, quick and useful little helper. :D
____________________
Cheers
AGU


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2006, 6:56 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
AGU wrote:
Man, this is breathtaking. :mrgreen:

This will definitely help me a lot for webdesigning. A nice, quick and useful little helper. :D
____________________
Cheers
AGU


Thanks a lot AGU .. Regards, :D

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 28th, 2006, 12:29 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Noboby else ?!! :shock:

PS: .. and I thought I had presented the most Colorful GUI that would ever be written in AHK. :cry:

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Crazy like a loon!
PostPosted: May 11th, 2006, 11:52 am 
Offline

Joined: November 15th, 2004, 1:46 pm
Posts: 45
Location: Port Fairy
This is the colour-picker I always wanted! :idea: 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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 11th, 2006, 12:13 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Dear bLisTeRing, :D

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, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 27th, 2006, 11:22 pm 
Offline

Joined: December 3rd, 2005, 1:57 am
Posts: 8
Very nice!

Thanks for taking the load off me :D

Cheers


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2006, 7:39 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Lego_Coder wrote:
Very nice!


Thanks :D

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2006, 1:56 pm 
Offline

Joined: April 11th, 2006, 11:46 am
Posts: 10
Location: The Netherlands
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2006, 2:33 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Dear Winkie, :)

You wrote:
Very nice and small script!


Thanks! :D

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, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 17th, 2006, 5:12 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
ColorPicker Tool has been updated from 1.00 Beta to 1.20 Beta.

Snapshot of Version 1.00 Beta:
Image

Snapshot of Version 1.20 Beta:
Image

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 June 17th, 2008, 2:39 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 17th, 2006, 6:45 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
cool work there Goyyah!
this is a nifty tool.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 19th, 2006, 2:57 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Good alternative to the colour-select dialog box.
Suggestion: why not add support for CMYK - it will help with image editing.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 19th, 2006, 8:29 pm 
Offline

Joined: June 8th, 2006, 9:38 pm
Posts: 307
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 21st, 2006, 2:08 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
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 :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 23 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group