Article View: adobe.scripting.indesign
Article #18038Re: Problem with compiled script
From: mattb
Date: Tue, 06 May 2003 17:47
Date: Tue, 06 May 2003 17:47
24 lines
1414 bytes
1414 bytes
if count of frames of parent story of it >1 gives this error: can't get frames of parent story of text frame... If I write it this way tell mySectionTitleLevel2Frame set myNewFrame to duplicate delete characters 1 through -1 of it delete it end tell tell myNewFrame fit given frame to content end tell set myNewFrame to 0 it will work as long as I run it from the script editor but when it is run as a compiled script from the script palette I get the same error 'doesn't understand the fit message.' If I comment out the fit message it will run until it hits another fit message and it doesn't understand that one either. Thanks again for the help. I'm confused. matt
Technical Details
Message-ID:
<1de8f1c5.6@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8f1c5.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,7f68682032039179 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-06 11:08:07 PST From: mattb <tim@tim.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Problem with compiled script Message-ID: <1de8f1c5.6@WebX.la2eafNXanI> Date: Tue, 6 May 2003 10:47:05 -0700 References: <1de8f1c5.-1@WebX.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit