• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting changes to InDesign Master Pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting changes to InDesign Master Pages


  • Subject: Scripting changes to InDesign Master Pages
  • From: Larry McMunn <email@hidden>
  • Date: Tue, 22 Jul 2003 15:49:18 -0400

I need to script changing a date in a footer in a document.
The date is in a text frame labeled "Footer" on master page "B-Master"

The following will change all occurrences in the document. But I haven't found a syntax to limit the change to only the text frame from the master page.

set cFindText to "03-30-2003"
set cReplaceText to "06-30-2003"
tell application "InDesign"
tell document 1
search every story with find attributes {find text:cFindText} ,
with change attributes {change text:cReplaceText}
end tell
end tell

I have tried:
search every story of text frame "Footer" blah-blah-blah...

and the following tell statements:
tell text frame "Footer"
tell page "B-Master"
tell master page "B-Master"
tell master spreads
tell current page

Any help is appreciated greatly.
--

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.

  • Follow-Ups:
    • Re: Scripting changes to InDesign Master Pages
      • From: Peter Boctor <email@hidden>
  • Prev by Date: Text files
  • Next by Date: Re: Question about Script Editor
  • Previous by thread: Re: text Files
  • Next by thread: Re: Scripting changes to InDesign Master Pages
  • Index(es):
    • Date
    • Thread