Applescript, slightly off-topic...
tkuypers at pandora.be
tkuypers at pandora.be
Mon Sep 1 14:22:01 EDT 2003
It is the replace part that crashes InDesign... When replacing with "" it
works fine, when using the paragraph code it goes wrong...
I now will start working on getting the text into InDesign and do the search
and replace in there...
Hmmmm... Thank you Adobe :-((
> From: "David M. Cole" <RunRev at colegroup.com>
> Reply-To: use-revolution at lists.runrev.com
> Date: Fri, 29 Aug 2003 09:52:53 -0700
> To: use-revolution at lists.runrev.com
> Subject: Re: Applescript, slightly off-topic...
>
> try this ... i'm pretty sure it will work.
>
>> tell application "InDesign 2.0.2"
>> set find preferences to nothing
>> set change preferences to nothing
>> tell active document
>> set vSearch to "^p^p^p"
>> set vReplace to "^p^p"
>> search for vSearch in active document replacing with vReplace
>> end tell
>> end tell
>>
>
>
> --
> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
> David M. Cole dmc at colegroup.com
> Editor & Publisher: The Cole Papers; NEWSINC. V: (650) 557-9595
> Consultant: The Cole Group <http://colegroup.com/> F: (650) 557-9696
> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list