Problem running FrameScript in Frame 9

Michael Pearson mt_pearson at hotmail.com
Tue May 18 15:33:55 PDT 2010


Hi Rick,

 

Is your version of FM9 fully patched? I believe FM9p250 is the latest and would recommend you update if you haven't already.

 

If that doesn't help, my only advice is to insert some debugging lines into the script to find out which command and file is giving you trouble. Sprinkle "WRITE Console..." commands liberally around the script and then examine the "consfile.txt" file after the crash to see if you can't narrow it down to a particular command or file that's causing the trouble.

 

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: Tue, 18 May 2010 17:41:32 -0400
> 
> 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. 
 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3


More information about the framers mailing list