Thank you both very much! Adding "MakeVisible(False) did the trick -- 
everything is working fine now.

Thanks again,
Rick 





Michael Pearson <[email protected]> 
05/18/2010 06:42 PM

To
<[email protected]>, <[email protected]>
cc
<[email protected]>
Subject
RE: Problem running FrameScript in Frame 9






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: [email protected]
> To: [email protected]
> Subject: Re: Problem running FrameScript in Frame 9
> Date: Tue, 18 May 2010 15:14:25 -0700
> CC: [email protected]
> 
> On Mon, 17 May 2010 14:24:34 -0400, "Rick Spiegel" 
<[email protected]> 
> 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.
> <[email protected]> http://www.omsys.com/
> _______________________________________________
> 
> 
> You are currently subscribed to framers as [email protected].
> 
> Send list messages to [email protected].
> 
> To unsubscribe send a blank email to
> [email protected]
> or visit 
http://lists.frameusers.com/mailman/options/framers/mt_pearson%40hotmail.com

> 
> Send administrative questions to [email protected]. 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. See how.
ForwardSourceID:NT0016EF42 


  
NOTICE  from Ab Initio: If received in error, please destroy and notify sender, 
and make no further use, disclosure, or distribution. This email (including 
attachments) may contain information subject to confidentiality obligations, 
and sender does not waive confidentiality or privilege.   
_______________________________________________


You are currently subscribed to framers as [email protected].

Send list messages to [email protected].

To unsubscribe send a blank email to
[email protected]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [email protected]. Visit
http://www.frameusers.com/ for more resources and info.

Reply via email to