I have wrote an EBS script that used to run via a HEP file
with an "Auto
Start Quick-Key" entry pointing to the EBX.
Now I am changing it all around to run from the command
prompt with a
parameter using ebrun.exe. When I replaced the
HostFromProfile with a
StartSession I got some unexpected results.
When I test the script by running the EBX directly....
Set HostExplorer = CreateObject("HostExplorer")
UniqueSessID = HostExplorer.StartSession(cExplorerProfile)
' The session opens fine
Set MyHost = HostExplorer.Hosts(UniqueSessID)
' The scripts blows by any command after this (i.e. keys or
wait for
string)
Any idea what I am doing wrong?
____________________________________________________________
____________
The information in this e-mail, and any attachment therein,
is confidential and for use by the addressee only. If you
are not the intended recipient, please return the e-mail to
the sender and delete it from your computer. Although The
Bank of New York attempts to sweep e-mail and attachments
for viruses, it does not guarantee that either are
virus-free and accepts no liability for any damage sustained
as a result of viruses.
|