I have a small problem when I want to develop more extensive extensions that interact with a gateway. For example, I want to read information on the gateway and use it in my code.
Every time I call and execute the following function
smxProxy.sendRequest("request-commit", {"commands" : ["run-script script-name 'HA Test' script '…
so I always get the following windows to approve the action.

When the script is executed on the gateway, I still get the success window.

This makes interactive communication with the gateway impossible because I have to keep closing the windows.
I understand that this makes sense from a safety point of view. However, it does prevent you from writing interactive javascript code.
Now my question:
- Is there already a switch in the function "smxProxy.sendRequest " to prevent the windows from being displayed?
- Is there another way around this?
If there is no solution:
- Will you integrate this in the future?
- Or can I make a feature request here?
➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips