Indigo Rose Software
  #1  
Old 02-19-2007
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
FREE PLUGIN: ColorDialog

Displays the standard windows color dialog, returning the colors in decimal, red, blue, green, and hex values.

Download the attached file, unzip the plugin to your AMS's (or any other IR product that supports Action Plugins for that matter) Plugins\Actions folder, then run the example project.

Last edited by Worm; 02-19-2007 at 03:13 PM.
Reply With Quote
  #2  
Old 02-19-2007
Roboblue's Avatar
Roboblue Roboblue is offline
Forum Member
 
Join Date: Dec 2003
Posts: 888
Great Stuff WORM
thanx again.
Reply With Quote
  #3  
Old 02-19-2007
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
Here's an updated version. I added another action to get the color under the mouse pointer. It too returns the values in a table, letting you choose, Decimal, RGB, or Hex.

New Plugin and example attached
Attached Files
File Type: zip ColorDialog.zip (125.1 KB, 840 views)
Reply With Quote
  #4  
Old 02-19-2007
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
Cool stuff, Worm... Are you able to return CMYK values as well? That's one thing missing from the color dialog in AMS.
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
Reply With Quote
  #5  
Old 02-19-2007
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
I've stumbled across formula's to convert RGB to CMYK

http://en.wikipedia.org/wiki/CMYK

Is it something you need?
Reply With Quote
  #6  
Old 02-19-2007
Roboblue's Avatar
Roboblue Roboblue is offline
Forum Member
 
Join Date: Dec 2003
Posts: 888
Well, since WORM was kind enough to release this free plugin, here's my first color board/colorpicker project using it.
It has a Picker (dropper) and a Color Board with three outputs, Decimal, HEX, and RGB
It has an opacity setting (manual slider, not auto, was having problems with multi timers, again).
Has On Top.
Has copy to clipboard for the color values.
Also, if you are doing a copy and paste to an Object Properties pane, AMS wants the # added to the HEX value. Photoshop adds a # to a copied HEX value and will truncate the value if you try to paste with the #. Other third party apps react the same way with no constancy. So I added a Radio button to add/subtract the # from the displayed HEX value, before or after it has been picked.
Click on the color shape to get the color board. Click on the dropper for the picker move the mouse over the on screen color you want and press the SpaceBar to grab the color.
I have the Page Timer set for (10) fired on the dropper button click, so if you have any timing problems, set it for (100).
Anyway, hope this helps a few as I have to pay back WORM for the freebies. Except for the opacity dll (lost track of who did it, but thanx if it was you) The rest is WORM's work (sounds ominous doesn't it, Worm's work...)
Attached Files
File Type: apz MyLiLCP.apz (329.2 KB, 293 views)

Last edited by Roboblue; 02-19-2007 at 08:46 PM.
Reply With Quote
  #7  
Old 02-19-2007
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
Well, I've been spoiled by the Photoshop color dialog. I realize I can always run the conversion myself, but it's nice to have an instant glance to confirm that settings match. Corporate logos are usually specified with CMYK values, so in order to make sure I'm matching the right color values for GUI objects in AMS, it would be great to have the instant feedback.
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
Reply With Quote
  #8  
Old 02-19-2007
Dermot Dermot is offline
Indigo Rose Customer
 
Join Date: Apr 2004
Location: Vancouver, Canada
Posts: 1,520
Very nice Worm, thanks.

Nice little app Roboblue. If you change the slider OnPosition Change code to this, you won't need the Set button for the transparency.

Code:
sOpac = e_Pos
Input.SetText("OpacityIn", sOpac);

handle = Application.GetWndHandle();
long = DLL.CallFunction("AutoPlay\\Docs\\wTrans.dll", "SetWindowTransparency", handle..","..sOpac, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
__________________
Dermot

AMS Add-ons - xDialog.com

A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.
Reply With Quote
  #9  
Old 02-19-2007
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
@Robo
Cool biz on the project, and yep the opacity DLL was something I threw together.

@Eric
I'll see if I can throw CMYK in there for ya.
Reply With Quote
  #10  
Old 02-20-2007
Roboblue's Avatar
Roboblue Roboblue is offline
Forum Member
 
Join Date: Dec 2003
Posts: 888
Here is the apz with the opacity set for max when opening, and changes with slider.
Much better.
Thanx Guys.
Attached Files
File Type: apz MyLiLCP2.apz (329.2 KB, 230 views)
Reply With Quote
  #11  
Old 02-20-2007
mgokkaya mgokkaya is offline
Forum Member
 
Join Date: Apr 2006
Posts: 181
why i get this error ??

Error: Plugin "ColorDialog\ColorDialog.lmd" is not licensed for re-distribution
Reply With Quote
  #12  
Old 02-20-2007
Roboblue's Avatar
Roboblue Roboblue is offline
Forum Member
 
Join Date: Dec 2003
Posts: 888
Another minor bug with the Lil' colorpicker.
Move the code
Code:
Slider.SetSliderPos("XPacity", 255);
from Page On-Show
and put it on the Slider On Focus.
Reply With Quote
  #13  
Old 02-20-2007
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
In the ColorDialog folder there should be three files

ColorDialog.lmd
ColorDialog.lic
ColorDialog_Help.htm

make sure you habe all three in the folder, especially the lmd and lic files and try again.

Quote:
Originally Posted by mgokkaya View Post
why i get this error ??

Error: Plugin "ColorDialog\ColorDialog.lmd" is not licensed for re-distribution
Reply With Quote
  #14  
Old 02-20-2007
rhosk's Avatar
rhosk rhosk is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Location: Maine, USA
Posts: 1,692
This is some nice stuff, thanks !!
__________________
Regards,

-Ron

Music | Video | Pictures
Reply With Quote
  #15  
Old 02-21-2007
mgokkaya mgokkaya is offline
Forum Member
 
Join Date: Apr 2006
Posts: 181
how can i make something like that with ams6 ???
Attached Files
File Type: zip XCOLOR2.ZIP (43.4 KB, 233 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to share custom buttons with the group? mwreyf1 AutoPlay Media Studio 6.0 10 09-03-2009 05:01 AM
Free Date Difference Action Plugin Worm AutoPlay Media Studio 5.0 27 01-05-2006 05:57 AM
Free Plugin peter2003 AutoPlay Media Studio 5.0 23 04-27-2005 09:15 PM
Free Plugin: Media Player Object Ted Sullivan AutoPlay Media Studio 5.0 7 09-24-2004 03:54 PM


All times are GMT -6. The time now is 03:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software