Photoshop CS5 not recognising activeDocument

后端 未结 1 1101
余生分开走
余生分开走 2021-01-15 03:17

I wrote a quite big script for Photoshop CS5.1 on my 64bit Vista machine. Now when I run the very same script on my new 64bit Windows 7 machine, Adobe ExtendScript Tool comp

相关标签:
1条回答
  • 2021-01-15 03:34

    SOLVED
    The mystery is solved. It is embarrassing simple if you interpret the error message more careful. Of course I can't get an activeDocument if there are no documents in Photoshop, duh!?! I interpreted it as the statement activeDocument wasn't recognised, but of course if I have no document there is no such element (as a photoshop document) to give me. I'm used to C++ and would expect the reuslt to be a NULL value or similar if there is a problem to get the document... excuses, excuses ;)

    Well, if someone else should get into the same problem, here is the answer on my expense :D I will uninstall the 32bit version now...

    0 讨论(0)
提交回复
热议问题