Photoshop 2017: COM API - Exception on open

  • 2
  • Problem
  • Updated 11 months ago
  • Solved
  • (Edited)
Sample jscript:

var app = new ActiveXObject("Photoshop.Application");
try
{
app.Open("path\to\file.psd");
WScript.Echo("OK");
}
catch(e)
{
WScript.Echo("Exception: " + e.message);
}

Throws an exception in Photoshop 2017. Works fine in previous versions.

OS: Windows 7 x64
Photo of Серж Рашитов

Серж Рашитов

  • 11 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 2
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14149 Posts
  • 1765 Reply Likes
Official Response
This should be fixed by today's update: Photoshop CC 2017.1.1 (May 2017) Update Now Available
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14149 Posts
  • 1765 Reply Likes
Official Response