Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Script Directives

EmEditor Macro Reference: #async directive

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Directives

#async directive

Specifies whether the macro should be run asynchronously (as a separate thread). This directive must be specified at the first lines of the script above the main code.

#async = "off" (or "on")

Parameters

"off" (or "on")

The macro will be not run asynchronously if "off" is specified, otherwise it will be run asynchronously. The default is on.

Examples

Do not run the macro asynchronously.

#async = "off"

Version

Supported on EmEditor Professional Version 20.8.

Copyright © 2003-2021 by Emurasoft, Inc.