Class: AutomationL.cs
Method: public static bool Trigger<T>(AutomationTrigger trigger,List<string> procCodes,long patNum,long aptNum=0,T triggerObj=default(T))
Please add Hook at the beginning of the case "PopUpThenDisable10Min" statement.
Thanks!
Hook Request
Re: Hook Request
Here's what I have for the hook at this point.
If that looks like what you're envisioning, I'll go ahead and add it to the next update.
Code: Select all
case AutomationAction.PopUpThenDisable10Min:
Plugins.HookAddCode(null,"AutomationL.Trigger_PopUpThenDisable10Min_begin");
long automationNum=listAutomations[i].AutomationNum;
-
- Posts: 6
- Joined: Fri Nov 19, 2010 10:01 am
Re: Hook Request
Please pass following arguments into the method call: listAutomations, List<string> procCodes, long patNum
Plugins.HookAddCode(listAutomations,List<string> procCodes,long patNum, "AutomationL.Trigger_PopUpThenDisable10Min_begin");
Plugins.HookAddCode(listAutomations,List<string> procCodes,long patNum, "AutomationL.Trigger_PopUpThenDisable10Min_begin");
Re: Hook Request
Here is the updated hook request, which has been committed to (soon-to-be)beta version 19.2.2
This is an AddCode hook, and I wanted to confirm that this is the desired functionality over a Method hook.
Code: Select all
Plugins.HookAddCode(null,"AutomationL.Trigger_PopUpThenDisable10Min_begin",listAutomations[i],procCodes,patNum);
-
- Posts: 6
- Joined: Fri Nov 19, 2010 10:01 am
Re: Hook Request
Please change it to Method hook...Thanks!
Re: Hook Request
coolprep25,
Could you write out the code for the hook, including several lines before and after the hook? This will help us make sure we get the exact form that will be helpful to you.
Could you write out the code for the hook, including several lines before and after the hook? This will help us make sure we get the exact form that will be helpful to you.