🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8115

Re: [VBA CS2] Random text formatting errors and general slow down

#8115
From: Robert Tkaczyk
Date: Fri, 03 Nov 2006 20:53
18 lines
1454 bytes
first - don't use Line - use Paragraph - probably your 
LastInsertionPoint in Line isn't after just pasted text - long field 
split to second line and next field is pasted inside before pasted field

and same thing when you paste something in TextFrame - use 
myTextFrame.ParentStory.Paragraphs or 
myTextFrame.ParentStory.InsertionPoints collections


second - do SAVE AS - not SAVE
SAVE don't clear UndoHistory - SAVE AS clear UndoHistory
and save incremental - add Date+Time on end of file name - each file 
will have unique name ;) on the end you will delete "temporary" files

robin

-- 
www.adobescripts.com
Technical Details
Message-ID: <92E79D663DABEDF46497D85DDBDE6833@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
References: <3bc22c46.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b7d54ad66a4bb92b
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [VBA CS2] Random text formatting errors and general slow down
Message-ID: <92E79D663DABEDF46497D85DDBDE6833@in.webcrossing.la2eafNXanI>
Date: Fri, 3 Nov 2006 12:53:10 -0800
References: <3bc22c46.-1@webcrossing.la2eafNXanI>
Lines: 19
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
X-Antivirus: avast! (VPS 0645-4, 2006-11-03), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit