🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2251

Vb.Net and InDesign CS4 Critical Problem

#2251
From: Mark_Elsner
Date: Fri, 19 Dec 2008 16:26
1 lines
1459 bytes
I have a script(well many scripts) that the first thing it does is set the user interaction level and then it opens up a template file from my local C drive. When I run the script from my development environment it works fine and I have no issues. When I "install" the script on to my computer(or other computers) and run it as an application I get an error right away that says an unhandled exception has occurred in your application. The error is Method not found: 'InDesign.Document InDesign.Document.Save(System.Object, Boolean, System.Object, Boolean)'. It really makes no sense to me as I am opening a document in the first line and I am not saving it until well after the document is open. I just switched to CS4 from CS2 and this script used to work fine. Like I said it also works fine when I run it directly from my development environment. Any ideas what is going on?
Technical Details
Message-ID: <59b75026.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5baaf4ad99208aae,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Mark_Elsner@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Vb.Net and InDesign CS4 Critical Problem
Message-ID: <59b75026.-1@webcrossing.la2eafNXanI>
Date: Fri, 19 Dec 2008 08:26:16 -0800
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit