Compiled Macro not working

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
buda56
Junior Coder
Posts: 20
Joined: Thu Aug 07, 2008 10:45 am

Compiled Macro not working

Post by buda56 » Wed Sep 10, 2008 3:57 am

Hi,
I created a macro using WebRecorder, this works fine when run as a script using MacroScheduler.

Unfortunately when I compile the script into an executable and try to run it nothing seems to happen. the Macro Icon appears in the system tray (flashing) but nothing happens.

The Macro is suppoosed to:
1. Open IE
2. Gotto a specific site
3. login to the site.
4. Got a specific area of the site and download a file
5. Close IE.

As I said above this works okay as a script. Can anyone please assit me in geting this running as an executable.

Using WebRecorder 2.04 & MacroScheduler 10.1.20

Regards..
Peter :(

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

Post by Marcus Tettmar » Wed Sep 10, 2008 9:20 am

WebRecorder scripts need IEAuto.DLL to run. So it needs to be with the EXE or in the path, depending on what calling convention you are using. If you are using the IE_ style functions, you need the Imports folder beneath the EXE. If you are using LibFunc you only need the DLL in the same folder as the EXE (or in the path).
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

buda56
Junior Coder
Posts: 20
Joined: Thu Aug 07, 2008 10:45 am

Post by buda56 » Thu Sep 11, 2008 12:28 am

Marcus,
Thanks that's what i was missing, compiled exe now works atreat..

Regards..
Peter :)

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