Skip to main content
Chuck Uebele
Community Expert
Community Expert
December 11, 2008
Question

populating dropdownlist with bendmodes

  • December 11, 2008
  • 2 replies
  • 552 views
anyone have any idea how to access photoshops list of blend modes to populate a dropdownlist? Also, if this can't be done, how do you get the blendmode to work? for example I populated the dropdown list with an array of the blend mode names which I typed out. but when I try and combine the name with say var layerNewBlend = BlendMode + '.' + selectionFromDropdown, I get a bad enumeration error. It seems you have to assign the whole blend mode to the variable at one time ei: var layrNewBlend = BlendMode.SCREEN.
This topic has been closed for replies.

2 replies

Chuck Uebele
Community Expert
Community Expert
December 12, 2008
Thanks!!! That did the trick. I must have tried everything except that!
Known Participant
December 11, 2008
Charles_Uebele@adobeforums.com wrote:
> anyone have any idea how to access photoshops list of blend modes to populate a dropdownlist?

I don't think it can be done.


> Also, if this can't be done, how do you get the blendmode to work?

var layerNewBlend = BlendMode[selectionFromDropdown];


-X