![]() First, it sets aside all legitimate paragraph breaks, represented in the e-mail message as double Returns, by replacing them with bullet symbols ( ![]() " replace with "^p" replace replace allĮxecute find (find object of docRange) find text " " replace with " " replace replace all." replaceĮxecute find (find object of docRange) find text "^p" replace with " " replace replace allĮxecute find (find object of docRange) find text ".Set docRange to text object of active documentĬlear formatting of find object of docRangeĮxecute find (find object of docRange) find text "^p^p" replace with " Now, from that Script menu (which looks like a scroll), you’ve got a search-and-replace script that cleans up Internet text just as well as the old Word macro did. ![]() Make sure your Script menu is visible on your menu bar Paste the following text into Script Editor (a program in your Utilities folder), and then save it as a script in your Home -> Library -> Scripts folder. It shows you how to build a script that runs through multiple search/replace procedures, really fast, (But you can use this as a model for similar scripts of your own. On a Web page, in a document, or whatever. The first one is designed to fixes blocks of text that you’ve copied from e-mail-you know, where every single line has a Return at the end-and turns it into regular, wrapping text that you can use So I asked Microsoft PR if they could ask the engineers to supply me, and by extension you, with some template AppleScripts for useful functions. Language, but it’s still a language, and it’s not obvious at all how to use it. But try as I might, I couldn’t figure out how. Microsoft keeps saying that you can re-create the functions of the lost macros using AppleScript, the Mac’s built-in scripting program. Because I have a lot of macros that I used to use all the time in the previous version. (I’ll return to more general topicsĪs I noted in my review of Office 2008 for the Mac, Microsoft took out the macros featureįrom Word and Excel. This one’s just for Mac fans with Office 2008. Very, very tweaky, geeky blog entry today, sorry, but it’s great information that I don’t want to hoard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |