你的第一个宏

出自OOo 中文指南手册翻译

跳转到: 导航, 搜索


这是OpenOffice.org 3.x 新手指南的第十三篇,英文版是由OOoAuthors group制作的。OpenOffice.org的Documentation有本文英文版的PDF版本。

[编辑] 你的第一个宏

A macro is a saved sequence of commands or keystrokes that are stored for later use. An example of a simple macro is one that “types" your address. The OpenOffice.org macro language is very flexible, allowing automation of both simple and complex tasks. Macros are especially useful to repeat a task the same way over and over again.

OpenOffice.org macros are usually written in a language called StarBasic, or just abbreviated Basic. Although you can learn Basic and write macros, there is a steep learning curve to writing macros from scratch. The usual method for a beginner is to use the built-in macro recorder, which records your keystrokes and saves them for use.

Most tasks in OpenOffice.org are accomplished by “dispatching a command" (sending a command), which is intercepted and used. The macro recorder works by recording the commands that are dispatched (see The dispatch framework).

[编辑] 相关链接

本文原文

个人工具