summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/01/06130000.xhp
blob: 0f3d82a03f7aacc66daf955dd9dc684982e64790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">

<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 .
 -->


<meta>
<topic id="textshared0106130000xml" indexer="include">
<title id="tit" xml-lang="en-US">Basic Macros</title>
<filename>/text/shared/01/06130000.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/.uno:MacroDialog" id="bm_id870519" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/BasicMacroDialog" id="bm_id3149948" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/@@nowidget@@" id="bm_id3149948" localize="false"/>
<h1 id="hd_id3157552"><variable id="basicmacros"><link href="text/shared/01/06130000.xhp" name="%PRODUCTNAME Basic Macros">%PRODUCTNAME Basic Macros</link></variable></h1>
<paragraph role="paragraph" id="par_id3148765" xml-lang="en-US"><variable id="makro"><ahelp hid=".uno:MacroDialog">Opens a dialog to organize macros.</ahelp>
</variable><comment>UFI: it is not the dialog to run a macro</comment></paragraph>
<section id="howtoget">
<embed href="text/shared/00/00000406.xhp#makro"/>
</section>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/macronameedit" id="bm_id3155351" localize="false"/>
<h2 id="par_id3154863">Macro name</h2>
<paragraph role="paragraph" id="par_id3150040" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/macronameedit">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/macros" id="bm_id3149283" localize="false"/>
<paragraph role="paragraph" id="par_id3150902" xml-lang="en-US"><ahelp hid="." visibility="hidden">Lists the macros that are contained in the module selected in the <emph>Macro from </emph>list.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/libraries" id="bm_id3152867" localize="false"/>
<h2 id="hd_id3153750">Macro from / Save macro in</h2>
<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/libraries">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 xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/ok" id="bm_id3147577" localize="false"/>
<h2 id="hd_id3147373">Run / Save<comment>unfortunately both have the same Help ID</comment></h2>
<paragraph role="paragraph" id="par_id3153748" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/ok">Runs or saves the current macro.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/assign" id="bm_id3150694" localize="false"/>
<h2 id="hd_id3149388">Assign</h2>
<paragraph role="paragraph" id="par_id3153577" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/assign">Opens the <link href="text/shared/01/06140000.xhp" name="Customize">Customize</link> dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/edit" id="bm_id3147276" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/macropage/edit" id="bm_id5118869" localize="false"/>
<h2 id="hd_id3153662">Edit</h2>
<paragraph role="paragraph" id="par_id3150355" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/edit">Starts the $[officename] Basic editor and opens the selected macro or dialog for editing.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/delete" id="bm_id3155393" localize="false"/>
<h2 id="hd_id3150772">New / Delete</h2>
<paragraph role="paragraph" id="par_id3153257" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/delete">Creates a new macro, creates a new module or deletes the selected macro or selected module.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3154514" xml-lang="en-US">To create a new macro in your document, select the "Standard" module in the <emph>Macro from</emph> list, and then click <widget>New</widget>.</paragraph>
<paragraph role="paragraph" id="par_id51571312108555">To create a new module in a library of the <emph>My Macros</emph> container, select the proper library and press <widget>New</widget>. The $[officename] Basic editor opens.</paragraph>
<paragraph role="paragraph" id="par_id3148474" xml-lang="en-US">To delete a macro or module, select it, and then click <widget>Delete</widget>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/newlibrary" id="bm_id3152910" localize="false"/>
<h2 id="hd_id3159342">New Library</h2>
<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/newlibrary">Saves the recorded macro in a new library.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/newmodule" id="bm_id3155262" localize="false"/>
<h2 id="hd_id3154173">New Module</h2>
<paragraph role="paragraph" id="par_id3155628" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/newmodule">Saves the recorded macro in a new module.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/BasicIDE/ui/basicmacrodialog/organize" id="bm_id3150118" localize="false"/>
<h2 id="hd_id3153665"><link href="text/shared/01/06130300.xhp" name="organizer">Organizer</link></h2>
<paragraph role="paragraph" id="par_id3147618" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/organize">Opens the <emph>Macro Organizer</emph> dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</ahelp></paragraph>
<section id="relatedtopics">
<embed href="text/shared/guide/scripting.xhp#scripting"/>
<embed href="text/shared/guide/macro_recording.xhp#macro_recording"/>
</section>
</body>
</helpdocument>