How to paste styled text into a footnote in "Microsoft Word"
How to paste styled text into a footnote in "Microsoft Word"
- Subject: How to paste styled text into a footnote in "Microsoft Word"
- From: Markus Krajewski <email@hidden>
- Date: Sat, 31 May 2008 14:42:51 +0200
Title: mkr
Hi,
my apologies for a probably easy question: I want to make Mac:Word 2008
opening a new footnote into the current document and then insert as the
content of the footnote some text from the clipboard. Both actions I am
able to execute
One like this:
tell application "Microsoft Word"
collapse range text object of selection direction collapse end
set myFootnote to make new footnote at active document with
properties {text range:text object of selection}
set content of text object of myFootnote to "Test-String"
activate
end tell
The other like this:
tell application "Microsoft Word"
paste special (text object of selection) data type paste styled text
activate
end tell
My question now is: how can I combine these two commands in order to
replace "Test-String" directly by the content of the clipboard?
Any help is very much appreciated, thanks a lot,
Markus
|
_______________________________________________
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