ZW3D macro Language templates

HI ALL:

In order to make it convenient for you to write macros or mapping keys, I share my highlighted template!
image

Notepad++ language:
image

zw3d_macro.zip (12.2 KB)

Also welcome interested friends to modify and upgrade it!

1 Like

Hi,
following the instructions at this link
https://help.zwsoft.com/help/helpres/ZW3D_en-US_2025/Eng/articles/article-654.html?pid=U2FsdGVkX19Wy%2BcsKICoJ3XaQovWLAeHtlZ%2BqkNTSLTe0leqi1i99ca34cTEX4zGYwAu5q4vWlukO4FwkYm%2BmbD3GOD2J5tpEzrWAic9ApbBuBkbLG3OQofDfg3Wi%2FPpji1%2Bb%2F8aFhjdPh3EeOwPkVmSV7G6gzU1HiEoRlwCSzIm9l%2Be%2BL%2FRWyUnc97EXsHyIaQRCpBiUSQK%2B3Yj8XLA2%2F55A5vo%2BzPbtEZ3B6eFqkbms5j6uDXC6blmp6n6R8o3eDMfoPd9d%2BE56vGxxZESbOGn8BMmWg%3D%3D&from=#pdt_zw3d2025enus_n01266

I created a file in my user directory named _alias.txt.
I put the example _alias code in the _alias.txt file.
I typed $run _alias.txt on the command line in ZW3D 2015.
I get this feedback -
ALERT: [fil,!FtFlltConst…] is not inside a “macro” or “data” block.

ALERT: [mac,$load test.mac…] is not inside a “macro” or “data” block.

ALERT: [boss,!FtBossExt…] is not inside a “macro” or “data” block.

ALERT: Macro [_alias.txt] has not been loaded.

? next?
thanks
Stuart

HI
That file of yours is wrong,
_alias <<<<<<<<<<<

image
image

I’m out of third-party editors.

image

Hi,
I changed the file name.
I get the same error messages
thanks
Stuart

I typed $run _alias.txt on the command line in ZW3D 2015. NO

You don’t have to do this, you simplify the instructions

AAA,!FtBossExt

and then you type it directly into the software.

!AAA

you can see the effect.

AAA,!FtBossExt - gives me the error - not a valid command - when typed into the command line

wish I could help you!