• 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: Working with Selected text in MS Word 2008 find/Replace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working with Selected text in MS Word 2008 find/Replace


  • Subject: Re: Working with Selected text in MS Word 2008 find/Replace
  • From: "Stockly, Ed" <email@hidden>
  • Date: Mon, 30 Nov 2009 14:03:41 -0800
  • Thread-topic: Working with Selected text in MS Word 2008 find/Replace

>  I would like to set the range to only include the selected text in th
original document.



Try this:

set docRange to text object of the selection

    execute find (find object of docRange) find text "g" replace with "„"
replace replace all with match case

    execute find (find object of docRange) find text "f" replace with "Ù"
replace replace all with match case

    execute find (find object of docRange) find text "h" replace with "˜"
replace replace all with match case

 _______________________________________________
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

References: 
 >Working with Selected text in MS Word 2008 find/Replace (From: jscriven <email@hidden>)

  • Prev by Date: Re: Changing File Permissions
  • Next by Date: Re: Using NSSupportsSuddenTermination
  • Previous by thread: Working with Selected text in MS Word 2008 find/Replace
  • Index(es):
    • Date
    • Thread