Hello,
Is there a way to call one macro from within another macro?
Hello,
Is there a way to call one macro from within another macro?
This can be done via the API:
play (macro1)
play (macro2)
I use Powershell for that, but that works in any language.
A second option is to use the command line interface.
It seems there’s a better answer to this question at
You could also go to the configuration in the seeshell automation program and go to the macro hotkeys tab and then choose the keyboard keys you would want to use to activate a specific macro and then pick the macro you want to run just make sure it is in the same place as the other macros and finally in the macro you are using to call to another macro, just use the keyboard keys to activate it so that it can run while the main macro is still running.
You might need to refer to this depending on what keys you set to activate the macro within a macro. To actually apply it just create a “Type” command and put the special keys in there. here is the refrence
Refrence
SeeShell [Desktop] automation implements all Windows special keys and shortcuts:
Use ClickAndType and Type to send keystrokes and keystroke combinations to the active application.
Note that the plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses () have special meanings. To specify one of these characters, enclose it within braces ({}). For example, to specify the plus sign, use “{+}”. To specify brace characters, use “{{}” and “{}}”. Brackets () have no special meaning, but you must enclose them in braces.
To specify characters that aren’t displayed when you press a key, such as ENTER or TAB, and keys that represent actions rather than characters, use the codes in the following table.
Key | Code |
---|---|
BACKSPACE | {BACKSPACE}, {BS}, or {BKSP} |
BREAK | {BREAK} |
CAPS LOCK | {CAPSLOCK} |
DEL or DELETE | {DELETE} or {DEL} |
DOWN ARROW | {DOWN} |
END | {END} |
ENTER | {ENTER} or ~ |
ESC | {ESC} |
HELP | {HELP} |
HOME | {HOME} |
INS or INSERT | {INSERT} or {INS} |
LEFT ARROW | {LEFT} |
NUM LOCK | {NUMLOCK} |
PAGE DOWN | {PGDN} |
PAGE UP | {PGUP} |
PRINT SCREEN | {PRTSC} (reserved for future use) |
RIGHT ARROW | {RIGHT} |
SCROLL LOCK | {SCROLLLOCK} |
TAB | {TAB} |
UP ARROW | {UP} |
F1 | {F1} |
F2 | {F2} |
F3 | {F3} |
F4 | {F4} |
F5 | {F5} |
F6 | {F6} |
F7 | {F7} |
F8 | {F8} |
F9 | {F9} |
F10 | {F10} |
F11 | {F11} |
F12 | {F12} |
F13 | {F13} |
F14 | {F14} |
F15 | {F15} |
F16 | {F16} |
Keypad add | {ADD} |
Keypad subtract | {SUBTRACT} |
Keypad multiply | {MULTIPLY} |
Keypad divide | {DIVIDE} |
To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following codes.
Key | Code |
---|---|
SHIFT | + |
CTRL | ^ |
ALT | % |
To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, enclose the code for those keys in parentheses. For example, to specify to hold down SHIFT while E and C are pressed, use “+(EC)”. To specify to hold down SHIFT while E is pressed, followed by C without SHIFT, use “+EC”.
To specify repeating keys, use the form {key number}. You must put a space between key and number. For example, {LEFT 42} means press the LEFT ARROW key 42 times; {h 10} means press H 10 times.