Rick, You can open the files "invisibly" by adding the parameter "MakeVisible(False)" to the Open command in your current script. Something else that might help save on memory a bit is to avoid updating xrefs and insets (if that works for your situation) by adding "UpdateTextReferences(No)" and "UpdateXRefs(No)" params to the Open command. Just a thought.
OPEN Document File(bookcomp.Name) NewVar(vDobj) FileIsOldVersion(OK) FontNotFoundInDoc(OK) FontNotFoundInCatalog(OK) AlertUserAboutFailure(False) FileIsInUse(ResetLockAndContinue) RefFileNotFound(AllowAllRefFilesUnFindable) LanguageNotAvailable(OK) FontChangedMetric(OK) MakeVisible(False) UpdateTextReferences(No) UpdateXRefs(No); HTH, Mike > From: jeremy at omsys.com > To: framers at lists.frameusers.com > Subject: Re: Problem running FrameScript in Frame 9 > Date: Tue, 18 May 2010 15:14:25 -0700 > CC: spiegel at abinitio.com > > On Mon, 17 May 2010 14:24:34 -0400, "Rick Spiegel" <spiegel at abinitio.com> > wrote: > > >I have recently upgraded to Frame 9 and FrameScript 5.2R1 from Frame 7 and > >FrameScript 2.1. I find that when I run a simple script that opens, saves, > >and closes all the files in a large book file, using FrameScript 5.2 and > >Frame 9, Frame crashes repeatedly. When I run the same script in Frame 7 > >(using the same FrameScript 5.2R1) on a Frame 7 book file with Frame 7 > >versions of all the same files in it, it works just fine. > > > >Has anybody else experienced this sort of problem, and more importantly, > >does anyone know what the problem might be and how I might fix it? > > I just noticed that there is a related thread on the FDK > developers' list, starting with: > http://tech.groups.yahoo.com/group/frame_dev/message/1516 > > The current conclusion seems to be that it's an issue with > the number of files, that it is new with Frame 9, and: > > >>For those of you trying to open a lot of files from a book, setting > >>FS_MakeVisible to False might prevent the application 'hang' that > >>you are experiencing. > > I don't know if FrameScript lets you do that, or how useful > it would be in your situation to have "invisible" files open. > > HTH... > > -- Jeremy H. Griffith, at Omni Systems Inc. > <jeremy at omsys.com> http://www.omsys.com/ > _______________________________________________ > > > You are currently subscribed to framers as mt_pearson at hotmail.com. > > Send list messages to framers at lists.frameusers.com. > > To unsubscribe send a blank email to > framers-unsubscribe at lists.frameusers.com > or visit > http://lists.frameusers.com/mailman/options/framers/mt_pearson%40hotmail.com > > Send administrative questions to listadmin at frameusers.com. Visit > http://www.frameusers.com/ for more resources and info. _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2