Macro Explorer
advantages of, 95
defined, 11
deleting projects, 94, 95
Edit command, 95
enumerating projects, 204
GUID constant for, 200
Macro icon, 94
naming projects, 95
object type of, 200
opening, 94
project commands, 94-95
project representation, 94
purpose of, 94
renaming projects, 94
Run command, 95
running macros from, 92
shortcut menu, launching, 95
top-level node, finding, 204
UI hierarchy manipulation. See UI hierarchy windows
macro recording
ItemOperations objects with, 166
steps for, 91-94
UIHierarchy object, 203
macros
accessing, 92, 97-98
add-ins from, 98
alias creation, 44, 97-98
automation object model with, 98
combining, 95
command creation for, 97-98
commands, running from, 134-135
Content Installer with, 65
creating new projects, 96
creation options, 91
default folder for, 91
defined, 91
deleting projects, 94, 95
displaying messages, 100
Edit command, 95
editing in IDE, 95-96
EnvironmentEvents module events, 182
event handlers, 102-104
event variable declarations, 182
events access, 96
events for firing, 102-104
exporting modules, 105
extensibility with, 14
file creation example, 97-98
file extension for, 91
focus, default, 92
folders for, 12
Form designer incompatibility, 224
generated code example, 93
Imports statements, 98
inserting text, 99-100
keyboard shortcuts for, 40, 44, 98
language for, 14
limits to recording, 93
line numbering, 44-46
LoadMacroProject command, 94
Macro icon, 94
Macros IDE command, 94
managing, 94-95
menus, adding to, 45
MsgWin sample, 100-102
New Macro Project dialog box, 94
opening Macros IDE, 91
persisting data to solution files, 194-196
playing back temporary, 93
project commands, 94-95
project events, connecting to, 182
Project Explorer view of, 95
projects, 94, 95
projects, sharing, 105
purpose of, 92
recording, 91-94, 166, 203
References folder, 96
referencing assemblies, 96
renaming projects, 94
Run command, 95
running, methods for, 92
sample, location of, 12
Samples project, pre-defined, 95
saving, 93, 94
security issues, 104, 106
sharing, 104-106
source code, sharing, 105
stopping recording, 92
structure of, 94
text manipulation, 98-100
text-based projects, 105-106
TextDocument objects, 99
.vb file extension, 105
Visual Basic .NET basis of, 91
window management with, 100-102
Macros IDE
add-ins, debugging in, 113-114
default features of projects, 96
editing macros in, 95-96
events, project, connecting to, 182
file creation example, 97-98
IntelliSense in, 95
launching macros in, 95
multiple macros in projects, 95
opening, 14, 94
References folder, 96
referencing assemblies, 96
main menu bar, 145-147
main window
add-ins with, 202
dialog boxes with, 202
DTE.MainWindow, 202
forms, displaying, 203
Handle property, 202-203
HWind property, 202
IWin32Window, 202
macros with dialog boxes, 203
methods, irregular, 202
parent window, setting as, 202
MakeZipExe utility, 66
managed applications, 25
managed environments, 2
managing macros, 94-95
managing projects. See project management
members, listing, 48
Members box, 35
Members drop-down list, 35
menus
command interface. See command bars
item creation for add-ins, 108, 111
macros, adding to, 45
main, 145-147
messages, macros for displaying, 100
Method Name combo box, 35
methods
code comments, adding, 49
parameter information, 48
Microsoft Intermediate Language (MSIL), 2
Microsoft Outlook, synchronizing to Task List, 211
Miscellaneous Files projects, 176-177
miscellaneous solution files, 19
most recently used buttons. See MRU button commands
MRU button commands, 139-141
MRU combo boxes, 141-143
MsgWin macro, 100-102
mshtml namespace, 243
MSIL (Microsoft Intermediate Language), 2