What is Vbscript syntax to determine document color mode?
Regards to the posted answer:
I figured it out. Basically the same as your codes. I did not enumerate like you did. I was just interested in getting the returned long value.
So mine was:
Dim mode as long Dim ObjApp set objApp = CreateObject("Photoshop.Application") mode = objApp.Activedocument.mode Rem ---------- Immediate test ---------- debug.print mode
I like your enumeration technique. I will put it to use.