Does not work when compiled - IE issue?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
jamesF852
Newbie
Posts: 7
Joined: Fri Apr 08, 2011 3:26 am

Does not work when compiled - IE issue?

Post by jamesF852 » Fri Apr 08, 2011 4:18 am

I have a script that opens an Excel workbook, extracts some data and then inputs it to an IE window. This works fine until I compile it. The compiled version will open the Excel workbook, but not create an IE window to put it into. Script is as follows:

Code: Select all

IE_Create>0,IE[0]

IE_Navigate>%IE[0]%,https://www.madeupURL.com/,r
IE_Wait>%IE[0]%,r
Wait>delay

IE_Wait>%IE[0]%,r
Wait>delay

Let>FrameName={""}
Let>FormName={""}
Let>TagValue={" Sign in to Extranet"}
IE_ClickTag>%IE[0]%,str:FrameName,str:FormName,A,TEXT,str:TagValue,r

IE_Wait>%IE[0]%,r
Wait>delay



// 
XLOpen>C:\Documents and Settings\jforeman\Desktop\Scripts\Duplicator.xlsx,1,xlBook

Am I doing something wrong here?

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

Post by Marcus Tettmar » Fri Apr 08, 2011 11:51 am

The compiled script needs to be able to see the webrecorder runtime file IEAuto.DLL.

Copy the Imports folder from your Macro Scheduler program files folder into the same location as your .exe.

The Imports folder should contain IEAuto.DLL and IEAuto.INI
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
Sign up to our newsletter for free automation tips, tricks & discounts