1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir ***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir<helpdocument version="1.0">
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir<topic id="textsbasicshared0106130000xml" indexer="include" status="PUBLISH">
36*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Macro</title>
37*cdf0e10cSrcweir<filename>/text/sbasic/shared/01/06130000.xhp</filename>
38*cdf0e10cSrcweir</topic>
39*cdf0e10cSrcweir<history>
40*cdf0e10cSrcweir<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
41*cdf0e10cSrcweir<lastedited date="2007-01-31T13:05:01">converted from old format - fpe</lastedited>
42*cdf0e10cSrcweir</history>
43*cdf0e10cSrcweir</meta>
44*cdf0e10cSrcweir<body>
45*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145786"><bookmark_value>macros; Basic IDE</bookmark_value>
46*cdf0e10cSrcweir<bookmark_value>Basic IDE; macros</bookmark_value>
47*cdf0e10cSrcweir</bookmark><comment>UFI: removed all help ids</comment><comment>ufi: this file needs more work, see i62546</comment>
48*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3145786" xml-lang="en-US" level="1" l10n="U" oldref="1">Macro</paragraph>
49*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="CHG" oldref="2"><variable id="makro"><ahelp hid=".">Opens the <emph>Macro </emph>dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp>
50*cdf0e10cSrcweir</variable></paragraph>
51*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154145" xml-lang="en-US" level="2" l10n="U" oldref="3">Macro name</paragraph>
52*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp></paragraph>
53*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153729" xml-lang="en-US" level="2" l10n="U" oldref="7">Macro from / Save macro in</paragraph>
54*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="HID_BASICIDE_LIBS">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</ahelp></paragraph>
55*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3146975" xml-lang="en-US" level="2" l10n="U" oldref="11">Run / Save</paragraph>
56*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154791" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN">Runs or saves the current macro.</ahelp></paragraph>
57*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153158" xml-lang="en-US" level="2" l10n="U" oldref="15">Assign</paragraph>
58*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149961" xml-lang="en-US" l10n="CHG" oldref="16"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN">Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.</ahelp></paragraph>
59*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="2" l10n="U" oldref="17">Edit</paragraph>
60*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147127" xml-lang="en-US" l10n="CHG" oldref="18"><ahelp hid=".">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp></paragraph>
61*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149400" xml-lang="en-US" level="2" l10n="U" oldref="19">New/Delete</paragraph>
62*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155602" xml-lang="en-US" l10n="CHG" oldref="61"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL">Creates a new macro, or deletes the selected macro.</ahelp></paragraph>
63*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149124" xml-lang="en-US" l10n="CHG" oldref="20">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>. </paragraph>
64*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="21">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
65*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="2" l10n="U" oldref="22">Organizer</paragraph>
66*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="23"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG">Opens the <emph>Macro Organizer</emph> dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</ahelp></paragraph>
67*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3166447" xml-lang="en-US" level="3" l10n="U" oldref="29">Module/Dialog</paragraph>
68*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US" l10n="CHG" oldref="30"><ahelp hid="HID_BASICIDE_MODULES_TREE">Lists the existing macros and dialogs.</ahelp></paragraph>
69*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149922" xml-lang="en-US" l10n="CHG" oldref="31">You can drag-and-drop a module or a dialog between libraries.</paragraph>
70*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3159333" xml-lang="en-US" l10n="CHG" oldref="33">To copy a dialog or a module, hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key while you drag-and-drop.</paragraph>
71*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3147131" xml-lang="en-US" level="3" l10n="U" oldref="34">Edit</paragraph>
72*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149816" xml-lang="en-US" l10n="U" oldref="35"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT">Opens the selected macro or dialog for editing.</ahelp></paragraph>
73*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3151214" xml-lang="en-US" level="3" l10n="CHG" oldref="36">New</paragraph>
74*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154202" xml-lang="en-US" l10n="CHG" oldref="37"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD">Creates a new module.</ahelp></paragraph>
75*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153269" xml-lang="en-US" l10n="CHG" oldref="40"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG">Creates a new dialog.</ahelp></paragraph>
76*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154587" xml-lang="en-US" level="3" l10n="U" oldref="42">Libraries tab page</paragraph>
77*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153705" xml-lang="en-US" l10n="CHG" oldref="43"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG">Lets you manage the macro libraries.</ahelp></paragraph>
78*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3145259" xml-lang="en-US" level="3" l10n="CHG" oldref="44">Location</paragraph>
79*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153234" xml-lang="en-US" l10n="CHG" oldref="45"><ahelp hid="BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS">Select the location containing the macro libraries that you want to organize.</ahelp></paragraph>
80*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3148460" xml-lang="en-US" level="3" l10n="U" oldref="46">Library</paragraph>
81*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150828" xml-lang="en-US" l10n="CHG" oldref="47"><ahelp hid="HID_BASICIDE_LIBS_TREE">Lists the macro libraries in the chosen location.</ahelp></paragraph>
82*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3145134" xml-lang="en-US" level="3" l10n="U" oldref="48">Edit</paragraph>
83*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150518" xml-lang="en-US" l10n="U" oldref="49"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp></paragraph>
84*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3150371" xml-lang="en-US" level="3" l10n="U" oldref="50">Password</paragraph>
85*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3166430" xml-lang="en-US" l10n="CHG" oldref="51"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_PASSWORD">Assigns or edits the <link href="text/sbasic/shared/01/06130100.xhp" name="password">password</link> for the selected library. "Standard" libraries cannot have a password.</ahelp></paragraph>
86*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154372" xml-lang="en-US" level="3" l10n="U" oldref="52">New</paragraph>
87*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3145387" xml-lang="en-US" l10n="U" oldref="53"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB">Creates a new library.</ahelp></paragraph>
88*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154259" xml-lang="en-US" level="3" l10n="U" oldref="56">Name</paragraph>
89*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156169" xml-lang="en-US" l10n="CHG" oldref="57"><ahelp hid="BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME">Enter a name for the new module, dialog, or library.</ahelp></paragraph>
90*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3151183" xml-lang="en-US" level="3" l10n="U" oldref="54">Append</paragraph>
91*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155126" xml-lang="en-US" l10n="U" oldref="55"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp></paragraph>
92*cdf0e10cSrcweir</body>
93*cdf0e10cSrcweir</helpdocument>
94