Macros

From FlashDevelop

Jump to: navigation, search

Contents

Description

Macros are series of internal FlashDevelop commands that are processed for arguments. These can be runned automaticly on application start or as commands during development. The macro management dialog creates menu items for these macros (unless you run them on start) where you can specify shortcuts and icons for the macros. Macros can be exported and imported so they are fairly easy to share with other users.

Syntax and samples

One individual command entry is:

<Command>|<Parameters>

So for example this command executes a script in development mode and letting user to select the file:

ExecuteScript|Development;$(OpenFile)

Here is another sample that saves all modified *.as files and opens the command prompt:

SaveAllModified|as
RunProcess|cmd.exe

Available commands

There are lots of commands available but here are some useful commands. You can browse for more by viewing the MainForm.cs file from the code repository.

Scintilla control commands

Here is a list of some commands that you can use with the ScintillaCommand call. You should use these like this:

ScintillaCommand|Cut

Basics:

Line operations:

Edition:

View:

Selection:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox