Re: scripting header/footer in appleworks 6
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