• 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
How to set "different first page header footer" using an AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set "different first page header footer" using an AppleScript


  • Subject: How to set "different first page header footer" using an AppleScript
  • From: Dave <email@hidden>
  • Date: Thu, 14 May 2015 12:16:51 +0100

Hi All,

I get an error on the “set different first page header footer of myDocument to true” statement in the following Script:

tell application id “com.microsoft.Word”
	activate

	set myDocument to the document of the front window

	insert break at text object of myDocument break type page break

	set different first page header footer of myDocument to true
end tell


How do I set this property?

Thanks a lot
Dave


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to set "different first page header footer" using an AppleScript
      • From: Dave <email@hidden>
  • Prev by Date: Re: Osascript: Portable Path to Icon
  • Next by Date: Re: How to set "different first page header footer" using an AppleScript
  • Previous by thread: Re: Osascript: Portable Path to Icon
  • Next by thread: Re: How to set "different first page header footer" using an AppleScript
  • Index(es):
    • Date
    • Thread