How to Script copy+paste a grayscale layer into Channel with Scripting?
Trying to automate channel packing for Unity 3D in photoshop wtih scripting .jsx, but I have no idea how to:
1. Take a non-visible grayscale layer and paste it directly into the Red channel.
2. Take another non-visible grayscale layer and do that same thing with the Green channel.
3. Take another non-visible grayscale layer and paste it into a new mask on the active (visible) layer.
I've figured out how to save out and other things just fine, I just can't figure out how to modify channel data (seems from the documentation it's readonly?).
Thanks!
