Notification in SAP GUI scripting: When I run an InputScript which contains "ApplyGuiScript", then every time the script gets to this command a confirmation window pops up saying that a script is trying to connect to SAP GUI; the user now has to confirm. Is there any way to "automatically" run VB scripts (i.e. without the need of confirmation)?

In the SAP GUI options there is a checkbox "Notify when a script attaches to SAP GUI". The menu path is as follows:

-> SAP GUI Options
-> Accessibility and Scripting
-> Scripting
-> Notify when a script attaches to SAP GUI

Untick this last checkbox.