Re: Scripting changes to InDesign Master Pages
Re: Scripting changes to InDesign Master Pages
- Subject: Re: Scripting changes to InDesign Master Pages
- From: Larry McMunn <email@hidden>
- Date: Wed, 23 Jul 2003 20:58:19 -0400
Peter,
Thanks for the help. What you suggested was very close. I made one tweak and it does the trick. It needed a "tell master spreads" inside the "tell document" call. I've included the slight revision below.
>
set cFindText to "6-30-2003"
>
set cReplaceText to "9-30-2003"
>
tell application "InDesign"
>
activate
>
tell document 1
>
tell master spreads
>
search (text frames whose label is "Footer") for cFindText replacing with cReplaceText
>
end tell
>
end tell
>
end tell
--
Happy Automation! :-)
Larry McMunn
President
McMunn Associates, Inc.
Specialists in automated Data Visualization through Apple products
Collingswood, NJ
(856) 858-3440
---------------------------------------------------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.