Applescript, slightly off-topic...

David M. Cole RunRev at colegroup.com
Mon Sep 1 13:59:00 EDT 2003


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
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+



More information about the use-livecode mailing list