• 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: scripting header/footer in appleworks 6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting header/footer in appleworks 6


  • Subject: Re: scripting header/footer in appleworks 6
  • From: yvan-koenig <email@hidden>
  • Date: Wed, 2 Feb 2005 14:54:11 +0100


Le 1 févr. 2005 , à 0:44, Christian Vinaa a écrit :

if anyone have succeeded in scripting fx. font/size to header / footer of appleworks

please share secret !


Assuming that the cursor is in the footer (or in the header)

tell application "AppleWorks 6"
	activate
	tell document 1
		select menu item 7 of menu 3 (* Select all *)
		select menu item 5 of menu 3 (* Paste *)

		select menu item 7 of menu 3 (* Select all *)
		select menu item "Palatino" of menu item 1 of menu 5 (* set font *)
		select menu item "18 points" of menu item 2 of menu 5 (* size *)
	end tell
end tell

will do the trick.

I am trying to select the footer by script. I got no result at this time.

Yvan KOENIG


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: scripting header/footer in appleworks 6
      • From: yvan-koenig <email@hidden>
  • Prev by Date: Re: Not happy...
  • Next by Date: Re: scripting header/footer in appleworks 6
  • Previous by thread: Re: script that print files
  • Next by thread: Re: scripting header/footer in appleworks 6
  • Index(es):
    • Date
    • Thread