Giter Club home page Giter Club logo

external_editor_for_outlook2010's Introduction

External Editor for Outlook 2010

This is VBA macro to edit mail content with an external editor in Outlook 2010.

How to use

Preparation

  1. Launch Outlook 2010.

  2. Open VB Editor.
    Press "Alt" + "F11" to open it.

  3. Create a new module and rename it to "ExternalEditor".

  4. Copy and paste source code of "external_editor.vba" to the module.

  5. Configure EDITOR_PATH and TEMP_DIR based on your environment.

  6. Open "ThisOutlookSession" and add the following source code.

    Private Sub Application_Quit()
      ExternalEditor.FinishOpenInExternalEditor
    End Sub

    This is not mandatory, but it ensures to release all resources.

  7. Save files.
    Sign your macro digitally if you need.

Run this macro

  1. Click "New Mail" to open a new mail.
  2. Run "ExternalEditor.OpenInExternalEditor".
    Your external editor is opened.
  3. Edit the mail content and save it with your external editor.
  4. When you close the external editor, the content will be copied to the mail editor in Outlook.

Configurations

You can configure the environment of your external editor with the following constants. You can find them at the beginning of "external_editor.vba".

  • EDITOR_PATH
    Absolute path to your external editor
    e.g. If you use xyzzy as your external editor, set EDITOR_PATH to "C:\...\xyzzy.exe".
  • TEMP_DIR
    Absolute path to the directory in which temporary files are saved
    This variable must end with "".
  • REMOVE_TEMP_FILES
    If this is set to True, this macro removes temporary files after you close the external editor.
    If this is set to False, this macro leave temporary files for fail safe.

Note and limitations

  • If you edit your mail content within the mail editor of Outlook while you edit it within the external editor, the content edited in Outlook editor will be lost when you close the external editor.
  • Temporary files are saved as UTF-8 with BOM.
    Your external editor should support this encoding.
  • This macro is under development. If you are unlucky, you may face a crash of Outlook...

History

  • 1.0.0
    Release of the initial version

License

You can use this software under the MIT License.

Copyright (c) 2016 Masamitsu MURASE

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

external_editor_for_outlook2010's People

Contributors

masamitsu-murase avatar frdr avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.