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
78
79
80
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* 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 .
-->
<helpdocument version="1.0">
<meta>
<topic id="textsbasicshared0106130000xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Macro</title>
<filename>/text/sbasic/shared/01/06130000.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3145786"><bookmark_value>macros; Basic IDE</bookmark_value>
<bookmark_value>Basic IDE; macros</bookmark_value>
</bookmark><comment>this file needs more work, see i62546</comment>
<h1 id="hd_id3145786">Macro</h1>
<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US"><variable id="makro"><ahelp hid=".uno:ChooseMacro">Opens the <emph>Macro</emph> dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp></variable></paragraph>
<h2 id="hd_id3154145">Macro name</h2>
<paragraph role="paragraph" id="par_id3151116" 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>
<h2 id="hd_id3153729">Macro from / Save macro in</h2>
<paragraph role="paragraph" id="par_id3153190" 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>
<h2 id="hd_id3146975">Run / Save</h2>
<paragraph role="paragraph" id="par_id3154791" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/ok">Runs or saves the current macro.</ahelp></paragraph>
<h2 id="hd_id3153158">Assign</h2>
<paragraph role="paragraph" id="par_id3149961" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/assign">Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.</ahelp></paragraph>
<h2 id="hd_id3145799">Edit</h2>
<paragraph role="paragraph" id="par_id3147127" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/edit">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp></paragraph>
<h2 id="hd_id3149400">New/Delete</h2>
<paragraph role="paragraph" id="par_id3155602" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/basicmacrodialog/delete">Creates a new macro, or deletes the selected macro.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3149124" xml-lang="en-US">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>.</paragraph>
<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
<h2 id="hd_id3153764">Organizer</h2>
<paragraph role="paragraph" id="par_id3148405" 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>
<h3 id="hd_id3166447">Module/Dialog</h3>
<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/library">Lists the existing macros and dialogs.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3149922" xml-lang="en-US">You can drag-and-drop a module or a dialog between libraries.</paragraph>
<paragraph role="paragraph" id="par_id3159333" xml-lang="en-US">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>
<h3 id="hd_id3147131">Edit</h3>
<paragraph role="paragraph" id="par_id3149816" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/edit">Opens the selected macro or dialog for editing.</ahelp></paragraph>
<h3 id="hd_id3151214">New</h3>
<paragraph role="paragraph" id="par_id3154202" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/newmodule">Creates a new module.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3153269" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/newdialog">Creates a new dialog.</ahelp></paragraph>
<h3 id="hd_id3154587">Libraries tab page</h3>
<paragraph role="paragraph" id="par_id3153705" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/modulepage/newdialog">Lets you manage the macro libraries.</ahelp></paragraph>
<h3 id="hd_id3145259">Location</h3>
<paragraph role="paragraph" id="par_id3153234" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/location">Select the location containing the macro libraries that you want to organize.</ahelp></paragraph>
<h3 id="hd_id3148460">Library</h3>
<paragraph role="paragraph" id="par_id3150828" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/library">Lists the macro libraries in the chosen location.</ahelp></paragraph>
<h3 id="hd_id3145134">Edit</h3>
<paragraph role="paragraph" id="par_id3150518" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/edit">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp></paragraph>
<h3 id="hd_id3150371">Password</h3>
<paragraph role="paragraph" id="par_id3166430" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/password">Assigns or edits the <link href="text/sbasic/shared/01/06130100.xhp">password</link> for the selected library. "Standard" libraries cannot have a password.</ahelp></paragraph>
<h3 id="hd_id3154372">New</h3>
<paragraph role="paragraph" id="par_id3145387" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/new">Creates a new library.</ahelp></paragraph>
<h3 id="hd_id3154259">Name</h3>
<paragraph role="paragraph" id="par_id3156169" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/newlibdialog/NewLibDialog">Enter a name for the new module, dialog, or library.</ahelp></paragraph>
<h3 id="hd_id3151183">Append</h3>
<paragraph role="paragraph" id="par_id3155126" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/import">Locate that $[officename] Basic library that you want to add to the current list, and then click <emph>Open</emph>.</ahelp></paragraph>
</body>
</helpdocument>
|