I have developed the script for Photoshop (see below coding), this will not run and show the error on "app.doScript(body, ScriptLanguage.applescriptLanguage)" line. But this script is successfully run in InDesign.
Can any one look into this and provide the solution for run this code in Photoshop?
var htmlDoc = "/Users/asuvathdhamank/Desktop/Asuvath/New_Development/index.html" openHTML_Safari(htmlDoc);
var body = 'tell application "Safari"\ropen POSIX file "'+htmlDoc+'"\rend tell';