xref: /trunk/main/helpcontent2/source/text/sbasic/shared/01/06130000.xhp (revision 17fc61f3a15bef512c3b3b900ca61de59fe4462d)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3226a8927SAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
5226a8927SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6226a8927SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7226a8927SAndrew Rist * distributed with this work for additional information
8226a8927SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9226a8927SAndrew Rist * to you under the Apache License, Version 2.0 (the
10226a8927SAndrew Rist * "License"); you may not use this file except in compliance
11226a8927SAndrew Rist * with the License.  You may obtain a copy of the License at
12cdf0e10cSrcweir *
13226a8927SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
15226a8927SAndrew Rist * Unless required by applicable law or agreed to in writing,
16226a8927SAndrew Rist * software distributed under the License is distributed on an
17226a8927SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18226a8927SAndrew Rist * KIND, either express or implied.  See the License for the
19226a8927SAndrew Rist * specific language governing permissions and limitations
20226a8927SAndrew Rist * under the License.
21cdf0e10cSrcweir *
22226a8927SAndrew Rist ***********************************************************-->
23226a8927SAndrew Rist
24cdf0e10cSrcweir<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textsbasicshared0106130000xml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Macro</title>
28cdf0e10cSrcweir<filename>/text/sbasic/shared/01/06130000.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
3288cae784Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3145786">
3388cae784Smseidel<bookmark_value>macros; Basic IDE</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>Basic IDE; macros</bookmark_value>
35cdf0e10cSrcweir</bookmark><comment>UFI: removed all help ids</comment><comment>ufi: this file needs more work, see i62546</comment>
36*17fc61f3Smseidel<paragraph role="heading" id="hd_id3145786" xml-lang="en-US" level="1" l10n="U">Macro</paragraph>
37*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="CHG"><variable id="makro"><ahelp hid=".">Opens the <emph>Macro</emph> dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp>
38cdf0e10cSrcweir</variable></paragraph>
39*17fc61f3Smseidel<paragraph role="heading" id="hd_id3154145" xml-lang="en-US" level="2" l10n="U">Macro name</paragraph>
40*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U"><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>
41*17fc61f3Smseidel<paragraph role="heading" id="hd_id3153729" xml-lang="en-US" level="2" l10n="U">Macro from / Save macro in</paragraph>
42*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U"><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>
43*17fc61f3Smseidel<paragraph role="heading" id="hd_id3146975" xml-lang="en-US" level="2" l10n="U">Run / Save</paragraph>
44*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3154791" xml-lang="en-US" l10n="U"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN">Runs or saves the current macro.</ahelp></paragraph>
45*17fc61f3Smseidel<paragraph role="heading" id="hd_id3153158" xml-lang="en-US" level="2" l10n="U">Assign</paragraph>
46*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3149961" xml-lang="en-US" l10n="CHG"><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>
47*17fc61f3Smseidel<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="2" l10n="U">Edit</paragraph>
48*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3147127" xml-lang="en-US" l10n="CHG"><ahelp hid=".">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp></paragraph>
49*17fc61f3Smseidel<paragraph role="heading" id="hd_id3149400" xml-lang="en-US" level="2" l10n="U">New/Delete</paragraph>
50*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3155602" xml-lang="en-US" l10n="CHG"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL">Creates a new macro, or deletes the selected macro.</ahelp></paragraph>
51*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3149124" xml-lang="en-US" l10n="CHG">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>.</paragraph>
52*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
53*17fc61f3Smseidel<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="2" l10n="U">Organizer</paragraph>
54*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U"><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>
55*17fc61f3Smseidel<paragraph role="heading" id="hd_id3166447" xml-lang="en-US" level="3" l10n="U">Module/Dialog</paragraph>
56*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_BASICIDE_MODULES_TREE">Lists the existing macros and dialogs.</ahelp></paragraph>
57*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3149922" xml-lang="en-US" l10n="CHG">You can drag-and-drop a module or a dialog between libraries.</paragraph>
58*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3159333" xml-lang="en-US" l10n="CHG">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>
59*17fc61f3Smseidel<paragraph role="heading" id="hd_id3147131" xml-lang="en-US" level="3" l10n="U">Edit</paragraph>
60*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3149816" xml-lang="en-US" l10n="U"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT">Opens the selected macro or dialog for editing.</ahelp></paragraph>
61*17fc61f3Smseidel<paragraph role="heading" id="hd_id3151214" xml-lang="en-US" level="3" l10n="CHG">New</paragraph>
62*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3154202" xml-lang="en-US" l10n="CHG"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD">Creates a new module.</ahelp></paragraph>
63*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3153269" xml-lang="en-US" l10n="CHG"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG">Creates a new dialog.</ahelp></paragraph>
64*17fc61f3Smseidel<paragraph role="heading" id="hd_id3154587" xml-lang="en-US" level="3" l10n="U">Libraries tab page</paragraph>
65*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3153705" xml-lang="en-US" l10n="CHG"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG">Lets you manage the macro libraries.</ahelp></paragraph>
66*17fc61f3Smseidel<paragraph role="heading" id="hd_id3145259" xml-lang="en-US" level="3" l10n="CHG">Location</paragraph>
67*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3153234" xml-lang="en-US" l10n="CHG"><ahelp hid="BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS">Select the location containing the macro libraries that you want to organize.</ahelp></paragraph>
68*17fc61f3Smseidel<paragraph role="heading" id="hd_id3148460" xml-lang="en-US" level="3" l10n="U">Library</paragraph>
69*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3150828" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_BASICIDE_LIBS_TREE">Lists the macro libraries in the chosen location.</ahelp></paragraph>
70*17fc61f3Smseidel<paragraph role="heading" id="hd_id3145134" xml-lang="en-US" level="3" l10n="U">Edit</paragraph>
71*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3150518" xml-lang="en-US" l10n="U"><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>
72*17fc61f3Smseidel<paragraph role="heading" id="hd_id3150371" xml-lang="en-US" level="3" l10n="U">Password</paragraph>
73*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3166430" xml-lang="en-US" l10n="CHG"><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>
74*17fc61f3Smseidel<paragraph role="heading" id="hd_id3154372" xml-lang="en-US" level="3" l10n="U">New</paragraph>
75*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3145387" xml-lang="en-US" l10n="U"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB">Creates a new library.</ahelp></paragraph>
76*17fc61f3Smseidel<paragraph role="heading" id="hd_id3154259" xml-lang="en-US" level="3" l10n="U">Name</paragraph>
77*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3156169" xml-lang="en-US" l10n="CHG"><ahelp hid="BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME">Enter a name for the new module, dialog, or library.</ahelp></paragraph>
78*17fc61f3Smseidel<paragraph role="heading" id="hd_id3151183" xml-lang="en-US" level="3" l10n="U">Append</paragraph>
79*17fc61f3Smseidel<paragraph role="paragraph" id="par_id3155126" xml-lang="en-US" l10n="U"><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>
80cdf0e10cSrcweir</body>
81cdf0e10cSrcweir</helpdocument>
82