List of functions in available dlls

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
ichiban
Newbie
Posts: 8
Joined: Thu Apr 10, 2008 2:57 am

List of functions in available dlls

Post by ichiban » Thu Apr 10, 2008 11:12 pm

Is there a list of the functions in your dlls and how to use them? For example I would like to see documentation on the functions in IEAuto.dll. If there is no such documentation, is there a function in IEAuto to close IE? Otherwise I guess I have to use CloseWindow().

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

Post by Marcus Tettmar » Fri Apr 11, 2008 7:56 am

Yes, you will find a list if the functions in IEAuto.dll in the WebRecorder help file. IEAuto.dll is the runtime component of WebRecorder and is installed with WebRecorder, so the function documentation is in the WebRecorder help file. Start/Programs/WebRecorder - Help, or hit F1 while running WebRecorder.

The function you want is called KillIE. Here's the help file reference:

Function KillIE(IEInst:integer):integer; stdcall;

KillIE destroys an Internet Explorer browser instance created by IEAuto. IEInst is the identifier of the browser object to destroy. If successful KillIE returns 0, else 1.

Macro Scheduler Usage

Import Method (Requires Macro Scheduler 9.2)

//Kill IE0 instance
IE_Quit>IE0,result

LibFunc Method

//Kill IE0 instance
LibFunc>hIE,KillIE,r,IE0

Ok, I'm off to "pettle" our software now. Whatever that means.
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