I'm trying to get macros to run via API however I am kinda unsure what macroId refers to. I tried user number, legend and titan ID, all to no avail. Ideally I'd like to go with user numbers.
"A macro with the id '2' could not be found."
This is the error I'm getting
Macros/Run: what does macroId refer to?
Moderator: Moderators
- sideshowbond
- Posts: 182
- Joined: 18 Nov 2016, 20:58
Re: Macros/Run: what does macroId refer to?
This will be the ID of the macro defined in the XML. For example:
The macroId would be Avolites.Macros.PagingNeverHold.
Code: Select all
<macro id="Avolites.Macros.PagingNeverHold" name="Set PbPaging to NeverHold">
- sideshowbond
- Posts: 182
- Joined: 18 Nov 2016, 20:58
Re: Macros/Run: what does macroId refer to?
aahh, could have actually thought of that - feeling ever so slightly stoopid now. Thanks.
However
titan/script/2/Macros/Run?macroId=Avolites.Macros.Go
is giving me 'true' as a result but doesn't run the macro. Am I missing a step here?
However
titan/script/2/Macros/Run?macroId=Avolites.Macros.Go
is giving me 'true' as a result but doesn't run the macro. Am I missing a step here?
Who is online
Users browsing this forum: No registered users and 3 guests