IEAuto.dll does not work/hang

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
mfauzim
Pro Scripter
Posts: 89
Joined: Wed Sep 13, 2006 10:57 am

IEAuto.dll does not work/hang

Post by mfauzim » Tue Aug 07, 2007 7:15 am

I created a web robot script as belwo using webrecorder. But when I run it under MS it just hang at the specified line ( using the denug mode)

IEAuto.dll installed correctly at windows and prog dir.



// Generated by MacroScript WebRecorder 1.72
// Recorded on Tuesday, August 7, 2007, at 11:35 AM
LibLoad>IEAuto.dll,hIE
If>hIE=0
MessageModal>Could not load IEAuto.dll, make sure it is in the path or edit the LibLoad line.
Goto>end_script
EndIf

//Move the mouse cursor out of harm's way to avoid causing mouseover events to interrupt
MouseMove>0,0
Let>delay=1

LibFunc>hIE,CreateIE,IE[0],0 /// hang here.

LibFunc>hIE,Navigate,r,%IE[0]%,http://localhost/CARDUPDATE/CARD/ShowCARDTablePage.aspx
LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

Let>FrameName={""}
Let>FormName={""}
Let>TagValue={"New"}
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,A,TEXT,str:TagValue

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 07, 2007 7:23 am

Which line does it "hang" at? Can we access the site to test it?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

mfauzim
Pro Scripter
Posts: 89
Joined: Wed Sep 13, 2006 10:57 am

It Works after PC Restart

Post by mfauzim » Tue Aug 07, 2007 8:12 am

Marcus, I tried by reboot the PC and it works. Script able to open the browser it works for as designed.

Thanks for the support

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts