Page 1 of 1

macro wishlist

Posted: Sat Oct 22, 2011 8:25 pm
by quatschkopp
hi folks,

i have two simple wishes, regarding macros.

1.) implement a submacro feature

while running in a macro, the command "SUBMACRO IAMTHESUB" appears. IAMTHESUB is an other macro, defined in iamthesub.txt or what not. after running the submacro, return to the initiating macro script where it was left.

2.) implement a simple loop feature within a macro

for example, the command "LOOP 4" appears. everything between the "LOOP 4" statement and something like "WEND" (or whatnot), is executed four times. after looping, the macro will be running on after the "WEND" statement..

thanks :)

Re: macro wishlist

Posted: Mon Oct 24, 2011 7:02 am
by Matlo
There's already a way to write submacros:

Code: Select all

#submacro.
MACRO F1
#Your submacro content.

#macro.
MACRO F2
KEY F1
Feel free to write an issue for the loop feature: link. This will be low priority as my free time is limited :(