Because then it should be:
and usually the gray-channel in a grayscale-image should be channels, not 1, as far as I know.
Thanks for your reply.
No, I am working in vb.net adding reference to Photoshop library.
app.activeDocument.channels.name - returns 'Gray'
If i use the code app.activeDocument.channels.name - i get the error. Is it possible to fetch the pantone color name.
Sorry, I work on a Mac, so Visual Basic is foreign to me.
But if gray is channels(1) it would stand to reason that the spot color is channels(2)
app.activeDocument.Channels(2).name returns the pantone color name.