Problem running FrameScript in Frame 9

Rick Spiegel spiegel at abinitio.com
Tue May 18 14:41:32 PDT 2010


Hi Mike,

I have tested opening the files in the book by choosing File > Open All 
Files in Book, and they all open with no problem.  It almost seems like 
the number of files is the problem, because if I remove a few from the 
book, starting at the file at which the crash happens, and then run the 
script again, it will crash at the first file after the few I have 
removed. And yet in Frame 7, the script runs just fine. 

Any further thoughts?  By the way, I have also posted to framescript-users 
as you suggested.

Thanks again,
Rick





Michael Pearson <mt_pearson at hotmail.com> 
05/17/2010 06:50 PM

To
<spiegel at abinitio.com>
cc
<framers at lists.frameusers.com>
Subject
RE: Problem running FrameScript in Frame 9






Hi Rick,
 
That code works fine for me on FM9. As simple as the script is, I'd 
suspect there's an issue with one of the files in the book. Does FM crash 
at the same place each time? I'd test to see if you can open/save all the 
files manually using the FM interface.
 
HTH,
Mike
 
> To: mt_pearson at hotmail.com
> CC: framers at lists.frameusers.com
> Subject: RE: Problem running FrameScript in Frame 9
> From: spiegel at abinitio.com
> Date: Mon, 17 May 2010 18:25:38 -0400
> 
> Hi Michael,
> 
> Thanks for your response. Here's the code:
> 
> IF ActiveBook = 0
> DISPLAY 'No active book.'
> LEAVESUB;
> ELSE
> SET vCurrentBook = ActiveBook;
> ENDIF
> 
> LOOP ForEach(BookComponent) In(vCurrentBook) LoopVar(bookcomp)
> OPEN Document File(bookcomp.Name) NewVar(vDobj) FileIsOldVersion(OK) 
> FontNotFoundInDoc(OK) FontNotFoundInCatalog(OK) 
> AlertUserAboutFailure(False) FileIsInUse(ResetLockAndContinue) 
> RefFileNotFound(AllowAllRefFilesUnFindable) LanguageNotAvailable(OK) 
> FontChangedMetric(OK);
> SAVE Document DocObject(vDobj);
> CLOSE Document DocObject(vDobj); 
> ENDLOOP
> 
> And I will take your suggestion and post to the framescript-users group 
as 
> well.
> 
> Thanks,
> Rick
> 
> 
> 
> 
> 
> Michael Pearson <mt_pearson at hotmail.com> 
> 05/17/2010 05:09 PM
> 
> To
> <spiegel at abinitio.com>, <framers at lists.frameusers.com>
> cc
> 
> Subject
> RE: Problem running FrameScript in Frame 9
> 
> 
> 
> 
> 
> 
> Hi Rick,
> 
> I've not had any trouble with FM9 and FrameScript. In fact, I run 
> identical scripts on FM7.2, FM8 and FM9 on an almost daily basis. Why 
> don't you post the code so we can all have a look.
> 
> Also, for FS questions, you might be better off posting here: 
> http://tech.groups.yahoo.com/group/framescript-users/
> HTH,
> Mike
> 
> > To: framers at lists.frameusers.com
> > Subject: Problem running FrameScript in Frame 9
> > From: spiegel at abinitio.com
> > Date: Mon, 17 May 2010 14:24:34 -0400
> > 
> > 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?
> > 
> > Thanks,
> > Rick Spiegel
> > 
> > 
> > 
> > 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 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. See how.
> ForwardSourceID:NT0016EE22 
> 
> 
> 
> 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. 

Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox. See how.
ForwardSourceID:NT0016EE42 



  
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.   


More information about the framers mailing list