This is quite easy to do but you need to have the desktop administrator on the pc you want to record the macro on. You need to keep in mind that the UCCX macros are keyboard macros only they will not work with mouse clicks.
Also depending on which version of uccx you have you may be able to create workflow groups but for this example i will just use the default.
You need to go into the Desktop Administrator and select the relevant workflow you want to use the macro in.
Once you have selected the workflow select the default from the list and select edit.
Now you have a few option you need to decide when the macro will fire and give the UCCX some parameters to look for.
So in this rule above i am looking for the ani field to be filled in if it is then the workflow rule will run. you will want to use other field you collect from the script like the details you want to send to excel. if you dont have the info why run the rule?
Now click the new Action and record your macro. In the macro you can use field collect from the system to populate the fields in excel.
You also need to restart the agent anytime you change the workflow too or your changes will not work.
Another thing to keep in mind when doing this is to make sure you are setting the data in the CAD window or no data will be passed.
I have had very mixed results using the built in macro as some applications do not fully support the keyboard navigation. I have got around this by using middle ware like autoit (http://www.autoitscript.com/autoit3/) which you can get to accept variables from the uccx. I have also used this to accept the variables and open notepad and paste them in to make sure the variable are being passed.
macro
Hi
This is quite easy to do but you need to have the desktop administrator on the pc you want to record the macro on. You need to keep in mind that the UCCX macros are keyboard macros only they will not work with mouse clicks.
Also depending on which version of uccx you have you may be able to create workflow groups but for this example i will just use the default.
You need to go into the Desktop Administrator and select the relevant workflow you want to use the macro in.
Once you have selected the workflow select the default from the list and select edit.
Now you have a few option you need to decide when the macro will fire and give the UCCX some parameters to look for.
So in this rule above i am looking for the ani field to be filled in if it is then the workflow rule will run. you will want to use other field you collect from the script like the details you want to send to excel. if you dont have the info why run the rule?
Now click the new Action and record your macro. In the macro you can use field collect from the system to populate the fields in excel.
You also need to restart the agent anytime you change the workflow too or your changes will not work.
Another thing to keep in mind when doing this is to make sure you are setting the data in the CAD window or no data will be passed.
I have had very mixed results using the built in macro as some applications do not fully support the keyboard navigation. I have got around this by using middle ware like autoit (http://www.autoitscript.com/autoit3/) which you can get to accept variables from the uccx. I have also used this to accept the variables and open notepad and paste them in to make sure the variable are being passed.
Hope this helps, Good Luck
VOIPMonkey
www.voipmonkey.co.uk