The would be easy to do with a script. you wind up with a document 2000px wide by 850px hight 2000 1px wind stripes.
You could also just feed a script the colors and the height it could create the document any height you want with the number of colors you feed it.
You may be able to modify Adobe's Script Load Files into a stack into something like load files into a strip each new layer you expand the canvas width by the width of the layer and move the layer over the added canvas.
There may even be a script like that posted in the Photoshop Scripting forum. I worth a search or two.
Thank you for the fast respons, it sounds about right so far.
Now I am a complete novice with scripts.
What would that script look like?
if its not to much asked for, could you be so kind and write me the script that I can load up in photoshop and tell me how to use it step by step?
Thanks in advance for for your help so far.
I quite sure Paul wrote one like that around 10 years ago please search the scripting forum. If you want to do things like this with Photoshop you should learn some scripting or pay a programmer to write the scripts you want.