• 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 15:15:18 +0100

Well

This time I foiund a tip.

my put2footer("Bonjour madame")

on put2footer(msg)
	tell application "AppleWorks 6"
		activate
		set the clipboard to msg
		set oldDoc to name of front document
		select menu item 1 of menu item 1 of menu 2 (* new WP *)
		set wptemp to name of front document
		select document wptemp
		tell document wptemp
			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 *)
			select menu item 3 of menu 3 (* cut *)
		end tell
		close document wptemp without saving

		tell document oldDoc
			set ft to the clipboard
			set footer to ft
		end tell
	end tell
end put2footer


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>
References: 
 >Re: scripting header/footer in appleworks 6 (From: yvan-koenig <email@hidden>)

  • Prev by Date: Re: scripting header/footer in appleworks 6
  • Next by Date: Re: duplicate songs in iTunes
  • Previous by thread: Re: scripting header/footer in appleworks 6
  • Next by thread: Re: scripting header/footer in appleworks 6
  • Index(es):
    • Date
    • Thread