|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
Great Stuff WORM
thanx again. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
Cool stuff, Worm... Are you able to return CMYK values as well? That's one thing missing from the color dialog in AMS.
|
|
#5
|
|||
|
|||
|
I've stumbled across formula's to convert RGB to CMYK
http://en.wikipedia.org/wiki/CMYK Is it something you need? |
|
#6
|
||||
|
||||
|
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...)
Last edited by Roboblue; 02-19-2007 at 08:46 PM. |
|
#7
|
||||
|
||||
|
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.
|
|
#8
|
|||
|
|||
|
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. |
|
#9
|
|||
|
|||
|
@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. |
|
#10
|
||||
|
||||
|
Here is the apz with the opacity set for max when opening, and changes with slider.
Much better. Thanx Guys. |
|
#11
|
|||
|
|||
|
why i get this error ??
Error: Plugin "ColorDialog\ColorDialog.lmd" is not licensed for re-distribution |
|
#12
|
||||
|
||||
|
Another minor bug with the Lil' colorpicker.
Move the code Code:
Slider.SetSliderPos("XPacity", 255);
and put it on the Slider On Focus. |
|
#13
|
|||
|
|||
|
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. |
|
#14
|
||||
|
||||
|
This is some nice stuff, thanks !!
|
|
#15
|
|||
|
|||
|
how can i make something like that with ams6 ???
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
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.









Linear Mode

