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

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


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

Hi,

Found what I needed just after I posted, this seems to do the trick:

set different first page header footer of (page setup of section 1 of myDocument) to true

Cheers
Dave


> On 14 May 2015, at 12:16, Dave <email@hidden> wrote:
>
> 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


 _______________________________________________
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


References: 
 >How to set "different first page header footer" using an AppleScript (From: Dave <email@hidden>)

  • Prev by Date: How to set "different first page header footer" using an AppleScript
  • Next by Date: Spurious Messages from "email@hidden”
  • Previous by thread: How to set "different first page header footer" using an AppleScript
  • Next by thread: Spurious Messages from "email@hidden”
  • Index(es):
    • Date
    • Thread