Applescript, slightly off-topic...

tkuypers at pandora.be tkuypers at pandora.be
Mon Sep 1 16:30:01 EDT 2003


You might not know InDesign, but you sure know how to think and try to work
around bugs ;-)

Tried that already, same result however...

I am trying to export the text as RTF and let the user do some cleanup in
RR... That gives me more options and the search & replace works the way it
should work...

Thanks anyway.

Ton


> From: "Ken Ray" <kray at sonsothunder.com>
> Organization: Sons of Thunder Software
> Reply-To: use-revolution at lists.runrev.com
> Date: Mon, 1 Sep 2003 16:13:26 -0500
> To: <use-revolution at lists.runrev.com>
> Subject: RE: Applescript, slightly off-topic...
> 
> 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
>> 
> 
> 
> _______________________________________________
> 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