IEAuto.dll does not work

General Macro Scheduler discussion

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

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

I created a web automation script using the web recorder and saved it as below. But when I run it using MS it just hang at indicated li



// 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. I already install the IEAuto.dll at windows and program dir.

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:24 am

Why have you cross posted this?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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