LibFunc more examples

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1128
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

LibFunc more examples

Post by Grovkillen » Thu Oct 06, 2016 10:47 am

Hi,

I'd like to have more examples of what to do with the LibFunc command.

LibFunc>user32
LibFunc>kernel32
etc. etc.

These have a ton of great things that can be fetched but they are not documented.
Let>ME=%Script%

Running: 15.0.27
version history

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

Re: LibFunc more examples

Post by Marcus Tettmar » Thu Oct 06, 2016 1:19 pm

Not sure where I'd start - no way can we document everything you can do with it. It allows you to call functions in any stdcall DLL. Many Windows API functions can be called, and you'll find many examples littered around this forum - just search for LibFunc. You give it the name of the DLL, the name of the function, a return variable and then the parameter list. Not much more to say beyond what is in the documentation already.
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