Thread: Slow script
View Single Post
  #1  
Old 08-12-2014, 02:56 AM
indy5 indy5 is offline
Registered User
 
Join Date: Aug 2014
Posts: 3
Slow script

Hello,

I want to write an own script for custom GUI dialog, so I tested your script "Create a Custom Username and Password Input Dialog" described in "scripting_essential.pdf" on page2 81-82. But it takes more than 10 seconds to display that IE dialog box. Can you advise what's the problem?

After some investigation it seems that the main delay is caused by the following commands:
g_objIE.Offline = True
g_objIE.navigate "about:blank"

immediately after " Set g_objIE = CreateObject("InternetExplorer.Application") "

I've written some VB scripts for SecureCRT but never had such problem.

If I run that script directly in windows it's fast and the IE dialog box is displayed immediately.

I'm using Windows 7 x64, IE8 on PC with i7, 8GB RAM

Thanks in advance
Reply With Quote