Applescript, slightly off-topic...
Ken Ray
kray at sonsothunder.com
Mon Sep 1 16:20:01 EDT 2003
Ton,
Any chance you can do it in two steps? I don't know InDesign, but if you
can replace one string with another that are NOT returns, perhaps you
can replace the three returns with *** and then replace *** with two
returns?
Just a thought...
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of
> tkuypers at pandora.be
> Sent: Monday, September 01, 2003 2:17 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: Applescript, slightly off-topic...
>
>
> 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
> >
> >
>
> _______________________________________________
> 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