• 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
How to paste styled text into a footnote in "Microsoft Word"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

--

Dr. Markus Krajewski
Bauhaus-Universität Weimar
Bauhausstraße 11, Zimmer 226
99421 Weimar
Fon: 03643.58-3840
Fax: 03643.58-3791
Mobil: 0179.7964814
www.uni-weimar.de/medien/kulturtechniken/

www.verzetteln.de

 _______________________________________________
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

  • Prev by Date: Re: Recurring Scripting forbidden in Leopard ?
  • Next by Date: Scripting Finder's Information Window
  • Previous by thread: Re: Reading SQLite results directly into a list
  • Next by thread: Scripting Finder's Information Window
  • Index(es):
    • Date
    • Thread