forked from amazingfate/help
137 lines
14 KiB
XML
137 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!--*********************************************************************** * * The Contents of this file are made available subject to the terms of * either of the following licenses * * - GNU Lesser General Public License Version 2.1 * - Sun Industry Standards Source License Version 1.1 * * Sun Microsystems Inc., October, 2000 * * GNU Lesser General Public License Version 2.1 * ============================================= * Copyright 2000 by Sun Microsystems, Inc. * 901 San Antonio Road, Palo Alto, CA 94303, USA * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * * * Sun Industry Standards Source License Version 1.1 * ================================================= * The contents of this file are subject to the Sun Industry Standards * Source License Version 1.1 (the "License"); You may not use this file * except in compliance with the License. You may obtain a copy of the * License at http://www.openoffice.org/license.html. * * Software provided under this License is provided on an "AS IS" basis, * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS, * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. * See the License for the specific provisions governing your rights and * obligations concerning the Software. * * The Initial Developer of the Original Code is: Sun Microsystems, Inc.. * * Copyright: 2000 by Sun Microsystems, Inc. * * All Rights Reserved. * * Contributor(s): _______________________________________ * * ************************************************************************-->
|
|
<helpdocument version="1.0">
|
|
<meta>
|
|
<topic id="textsbasicshared0106130000xml" indexer="include" status="PUBLISH">
|
|
<title xml-lang="en-US" id="tit">Macro</title>
|
|
<filename>/text/sbasic/shared/01/06130000.xhp</filename>
|
|
</topic>
|
|
<history>
|
|
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
|
|
<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
|
|
</history>
|
|
</meta>
|
|
<body>
|
|
<bookmark branch="index" xml-lang="en-US" id="bm_id3145786">
|
|
<bookmark_value>macros; Basic IDE</bookmark_value>
|
|
<bookmark_value>Basic IDE; macros</bookmark_value>
|
|
</bookmark>
|
|
<bookmark branch="hid/.uno:MacroDialog" xml-lang="en-US" id="bm_id3154013"/>
|
|
<paragraph role="heading" level="1" id="hd_id3145786" l10n="U" xml-lang="en-US" oldref="1">Macro</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3152886" xml-lang="en-US" oldref="2">
|
|
<variable id="makro">
|
|
<ahelp visibility="visible" hid=".uno:MacroDialog">Opens the <emph>Macro </emph>dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp>
|
|
</variable>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME" xml-lang="en-US" id="bm_id3150486"/>
|
|
<paragraph role="heading" level="2" id="hd_id3154145" l10n="U" xml-lang="en-US" oldref="3">Macro name</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3151116" xml-lang="en-US" oldref="4">
|
|
<ahelp hid="BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME" visibility="visible">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/HID_BASICIDE_MACROS" xml-lang="en-US" id="bm_id3147428"/>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3146921" xml-lang="en-US" oldref="6">
|
|
<ahelp visibility="visible" hid="HID_BASICIDE_MACROS">Lists the macros that are contained in the module selected in the <emph>Macro from </emph>list.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/HID_BASICIDE_LIBS" xml-lang="en-US" id="bm_id3153140"/>
|
|
<paragraph role="heading" level="2" id="hd_id3153729" l10n="U" xml-lang="en-US" oldref="7">Macro from / Save macro in</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3153190" xml-lang="en-US" oldref="8">
|
|
<ahelp hid="HID_BASICIDE_LIBS" visibility="visible">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>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN" xml-lang="en-US" id="bm_id3153954"/>
|
|
<paragraph role="heading" level="2" id="hd_id3146975" l10n="U" xml-lang="en-US" oldref="11">Run / Save</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3154791" xml-lang="en-US" oldref="12">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN" visibility="visible">Runs or saves the current macro.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN" xml-lang="en-US" id="bm_id3154942"/>
|
|
<paragraph role="heading" level="2" id="hd_id3153158" l10n="U" xml-lang="en-US" oldref="15">Assign</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3149961" xml-lang="en-US" oldref="16">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN" visibility="visible">Opens the Customize dialog, where you can assign the selected macro to a menu command, a shortcut key combination, or an event.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_EDIT" xml-lang="en-US" id="bm_id3150113"/>
|
|
<paragraph role="heading" level="2" id="hd_id3145799" l10n="U" xml-lang="en-US" oldref="17">Edit</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3147127" xml-lang="en-US" oldref="18">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_EDIT" visibility="visible">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL" xml-lang="en-US" id="bm_id3151318"/>
|
|
<paragraph role="heading" level="2" id="hd_id3149400" l10n="U" xml-lang="en-US" oldref="19">New/Delete</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3155602" xml-lang="en-US" oldref="61">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL" visibility="visible">Creates a new module or macro, or deletes the selected macro.</ahelp>
|
|
</paragraph>
|
|
<paragraph xml-lang="en-US" oldref="20" id="par_id3149124" l10n="U" role="paragraph">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>. You can also create a new module, select it in the <emph>Macro from </emph>list, and then click <emph>New</emph>.</paragraph>
|
|
<paragraph xml-lang="en-US" role="paragraph" id="par_id3150749" l10n="U" oldref="21">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG" xml-lang="en-US" id="bm_id3155446"/>
|
|
<paragraph role="heading" level="2" id="hd_id3153764" l10n="U" xml-lang="en-US" oldref="22">Organizer</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3148405" xml-lang="en-US" oldref="23">
|
|
<ahelp visibility="visible" 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>
|
|
<paragraph role="heading" level="3" id="hd_id3150043" l10n="U" xml-lang="en-US" oldref="24">Module tab page</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3151248" xml-lang="en-US" oldref="25">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG" visibility="visible">Lets you manage dialogs and modules.</ahelp>
|
|
</paragraph>
|
|
<paragraph role="heading" level="3" id="hd_id3155936" l10n="U" xml-lang="en-US" oldref="26">Module/Dialog</paragraph>
|
|
<paragraph xml-lang="en-US" oldref="27" role="paragraph" id="par_id3153963" l10n="U">Click <emph>New Dialog</emph> or <emph>New Module</emph>. You will be asked for a name for the new module or new dialog.</paragraph>
|
|
<bookmark branch="hid/HID_BASICIDE_MODULES_TREE" xml-lang="en-US" id="bm_id3151188"/>
|
|
<paragraph role="heading" level="3" id="hd_id3166447" l10n="U" xml-lang="en-US" oldref="29">Module/Dialog</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3155959" xml-lang="en-US" oldref="30">
|
|
<ahelp hid="HID_BASICIDE_MODULES_TREE" visibility="visible">Lists the existing macros and dialogs for the current application and any open documents.</ahelp>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_id3149922" l10n="U" xml-lang="en-US" oldref="31">You can drag-and-drop some macros between the application and any open documents.</paragraph>
|
|
<paragraph xml-lang="en-US" role="paragraph" id="par_id3159333" l10n="U" oldref="33">To copy a dialog or a macro, hold down the <switchinline select="sys"> <caseinline select="MAC">Command</caseinline>
|
|
<defaultinline>Ctrl</defaultinline>
|
|
</switchinline> key while you drag-and-drop.</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT" xml-lang="en-US" id="bm_id3152775"/>
|
|
<paragraph role="heading" level="3" id="hd_id3147131" l10n="U" xml-lang="en-US" oldref="34">Edit</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3149816" xml-lang="en-US" oldref="35">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT" visibility="visible">Opens the selected macro or dialog for editing.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD" xml-lang="en-US" id="bm_id3148421"/>
|
|
<paragraph role="heading" level="3" id="hd_id3151214" l10n="U" xml-lang="en-US" oldref="36">New Module</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3154202" xml-lang="en-US" oldref="37">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD" visibility="visible">Opens the $[officename] Basic editor and creates a new module.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" xml-lang="en-US" id="bm_id3154715"/>
|
|
<paragraph role="heading" level="3" id="hd_id3150364" l10n="U" xml-lang="en-US" oldref="39">New Dialog</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3153269" xml-lang="en-US" oldref="40">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" visibility="visible">Opens the $[officename] Basic editor and creates a new dialog.</ahelp>
|
|
</paragraph>
|
|
<paragraph role="heading" level="3" id="hd_id3154587" l10n="U" xml-lang="en-US" oldref="42">Libraries tab page</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3153705" xml-lang="en-US" oldref="43">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" visibility="visible">Lets you manage the macro libraries for the current application and any open documents.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS" xml-lang="en-US" id="bm_id3153782"/>
|
|
<paragraph role="heading" level="3" id="hd_id3145259" l10n="U" xml-lang="en-US" oldref="44">Application / Document</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3153234" xml-lang="en-US" oldref="45">
|
|
<ahelp hid="BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS" visibility="visible">Select the application or the document containing the macro libraries that you want to organize.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/HID_BASICIDE_LIBS_TREE" xml-lang="en-US" id="bm_id3154657"/>
|
|
<paragraph role="heading" level="3" id="hd_id3148460" l10n="U" xml-lang="en-US" oldref="46">Library</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3150828" xml-lang="en-US" oldref="47">
|
|
<ahelp hid="HID_BASICIDE_LIBS_TREE" visibility="visible">Lists the existing macro libraries for the current application and any open documents.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT" xml-lang="en-US" id="bm_id3150884"/>
|
|
<paragraph role="heading" level="3" id="hd_id3145134" l10n="U" xml-lang="en-US" oldref="48">Edit</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3150518" xml-lang="en-US" oldref="49">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT" visibility="visible">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_PASSWORD" xml-lang="en-US" id="bm_id3145585"/>
|
|
<paragraph role="heading" level="3" id="hd_id3150371" l10n="U" xml-lang="en-US" oldref="50">Password</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3166430" xml-lang="en-US" oldref="51">
|
|
<ahelp visibility="visible" 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.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB" xml-lang="en-US" id="bm_id3146979"/>
|
|
<paragraph role="heading" level="3" id="hd_id3154372" l10n="U" xml-lang="en-US" oldref="52">New</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3145387" xml-lang="en-US" oldref="53">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB" visibility="visible">Creates a new library.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME" xml-lang="en-US" id="bm_id3150522"/>
|
|
<paragraph role="heading" level="3" id="hd_id3154259" l10n="U" xml-lang="en-US" oldref="56">Name</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3156169" xml-lang="en-US" oldref="57">
|
|
<ahelp hid="BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME" visibility="visible">Enter a name for the new library or module.</ahelp>
|
|
</paragraph>
|
|
<bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND" xml-lang="en-US" id="bm_id3152889"/>
|
|
<paragraph role="heading" level="3" id="hd_id3151183" l10n="U" xml-lang="en-US" oldref="54">Append</paragraph>
|
|
<paragraph l10n="U" role="paragraph" id="par_id3155126" xml-lang="en-US" oldref="55">
|
|
<ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND" visibility="visible">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp>
|
|
</paragraph>
|
|
</body>
|
|
</helpdocument>
|