object required : Wscript ???
i run this code but gor this error said 'object required: Wscript'.what is that mean?
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "Hello World!"
Re: object required : Wscript ???
WScript is not available in TC scripts due to technical limitations. You need to use Sys.OleObject instead of WScript.CreateObject.
BTW, there's no need to send keystrokes to applications via WScript.Shell. TC has the Keys method which you can use for that without creating additional COM objects.