Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: Bombus on November 13, 2007, 03:41:55 PM
-
Hi!
I'm trying to start a script frpm an action in CCPulse+
This is the script I type in the action script dialoge box:
---------------------------------------------------------
main
Sub main()
Dim Shell
Set Shell = WScript.CreateObject("WScript.Shell")
Shell.Run "C:\Temp\SendSMS.vbs", , true
End Sub
----------------------------------------------------------
But an error message comes up:
Error at
Line 6
Position 0
Error Message: Object Required: 'Wscript'
What does that mean?
And does anyone have any tips on how i can call a script like this so that i works.
The Script file i want to start is om my desktop, but I can't seem to get it right.
The script I want o start is working.
Mvh
Marcus
-
WScript.CreateObject("WScript.Shell")
?? If WScript is not yet set how can you invoke a method of it?
Is it
Set x = CreateObject("","WScript.Shell")?
-
what do you mean with: if WScript is not set??