Search the Community
Showing results for tags 'sql-server'.
-
I wrote the following script. I have similar scripts to open internet explorer and excel when the user is not logged in and they work fine. The following script which opens an SSIS package and execute it is working fine when the user is logged in but stop working when the user is logged off. It stops after opening the SSIS package. I dont know why controlsend is working in the other two scripts but not in this one. Please help. ShellExecute("C:\Users\xyz\Desktop\exescripts\PackageToUploadDataToSqlServer.dtsx") sleep(5000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(500) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(500) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(500) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(500) ControlSend("Execute Package Utility", "", "", "{ENTER}") sleep(50000) ControlSend("Package Execution Progress", "", "", "{TAB}") sleep(1000) ControlSend("Package Execution Progress", "", "", "{ENTER}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{TAB}") sleep(1000) ControlSend("Execute Package Utility", "", "", "{ENTER}") sleep(1000) Exit