Re: Working with Selected text in MS Word 2008 find/Replace
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