On 9/19/06 4:20 AM, "Paul Burney" <[EMAIL PROTECTED]> wrote:

> I hacked together this script about a year ago for use in BBEdit. I
> wanted to be able to modify a hex color at any place in a script
> (BBEdit will only do it for predefined things such as in CSS styles or
> bgcolor attributes).
> 
> Since I do most of my work in scripting languages and not just plain
> HTML, I typically have a variable name specifying the color like this:
> 
> $color = '#facade';
> 
> I can double click on the color string which selects all of the text
> without the #, then call my applescript which is tied to a keyboard
> shortcut. It brings up a color picker with the selected color already
> chosen. I usually then modify it with the HSB controls. When I click
> the OK button, the hex code on the page is replaced with the hex code
> for the newly selected color.
> 
> If you're interested, the script is here:
> 
> http://burney.ws/software/bbcolorpicker/
> 
> -------------------------------------------------------------
Good idea! Nice script.

-- 
<[EMAIL PROTECTED]>
Scripts for OE and Entourage:
<http://homepage.mac.com/allen_a_watson/AppleScripts_For_You>
Entourage questions: <http://www.entourage.mvps.org/>




-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to