Add "EXEC_MACRO_GET" control-command

You are missing a feature or need an enhancement? Post your suggestion here!
Post Reply
Maartenvn
Posts: 101
Joined: 21 Aug 2022 19:47
Add "EXEC_MACRO_GET" control-command

Post by Maartenvn »

I am writing some custom software that utilizes ProppFrexx control-commands to retrieve information from the remote instance. However, not all information in ProppFrexx has a corresponding control-command to retrieve it's value (overlay player name and remaining time, ...). However, ProppFrexx has a wide range of build-in Macro's that contain almost all information within the application.

I would be handy to have a EXEC_MACRO_GET command, with the same behavior as the EXEC_VAR_GET command but for all build-in Macro's.

Example usage would be:

Code: Select all

EXEC_MACRO_GET overlayremainms
> Return value: 16700
I have been reading through the control-commands in the documentation and on the forums and couldn't find a way to currently achieve this. This would be a great addition and allow for much more external capabilities.

Thank you in advance :)
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Add "EXEC_MACRO_GET" control-command

Post by radio42 »

That function already exists ;-)
You can use the command PING to do so - it actually returns what you have send, whereas any macros are evaluated beforehand.

Post Reply