🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #127

Error to execute the script through command prompt

#127
From: Prabudass
Date: Fri, 13 Mar 2009 12:46
10 lines
920 bytes
I tried to execute the script through command prompt. I got some following error. Could you please advice me how to rectify this.

cscript D:\JS\Test.js
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

D:\JS\Test.js(1, 1) Microsoft JScript runtime error: 'app' is undefined.

Thanks,
Prabudass
Technical Details
Message-ID: <59b83358.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,ceaf9741967b4956,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Prabudass@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Error to execute the script through command prompt
Message-ID: <59b83358.-1@webcrossing.la2eafNXanI>
Date: Fri, 13 Mar 2009 05:46:59 -0700
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit