09-13-2017, 08:47 AM
You can use function OnScreenDisplay. It displays transparent or tooltip-like text, depending on flags. Example:
Macro Macro1011
This macro changes OnScreenDisplay text while running:
Macro Macro1011
-------------------
Or just use the Quick Macros tray icon, which changes color when a macro is running.
If it is a type of macro/function that does not change icon when running, or it is an exe-macro that runs not from QM, use function AddTrayIcon. Example:
Macro Macro1011
But problem: Windows by default hides tray icons.
Macro Macro1011
This macro changes OnScreenDisplay text while running:
Macro Macro1011
sub.OSD "Starting..."
1
int i
for i 0 5
,sub.OSD i+1
,1
sub.OSD "DONE"
1
#sub OSD
function str'text
OnScreenDisplay F"---- Macro X ----[]{text}" -1 -1 1 "" 12 0xff0000 8|4 "Macro X"
-------------------
Or just use the Quick Macros tray icon, which changes color when a macro is running.
If it is a type of macro/function that does not change icon when running, or it is an exe-macro that runs not from QM, use function AddTrayIcon. Example:
Macro Macro1011
But problem: Windows by default hides tray icons.