Readout Version of Mairlist

Hi !

How can i get the installed mairlist-version via script (inkl. installed snapshot) for version 4.4.x?

Ideas or code-snipsets?

Greez

var
  major, minor, release, build: integer;
  betaname: string;

begin
  Instance.GetProductVersion(major, minor, release, build, betaname);
  if betaname = ''
    SystemLog('This is mAirList ' + IntToStr(major) + '.' + IntToStr(minor) + '.' + IntToStr(relelease) + ' Build ' + IntToStr(build))
  else
    SystemLog('This is mAirList ' + IntToStr(major) + '.' + IntToStr(minor) + '.' + IntToStr(relelease) + ' ' + betaname + ' Build ' + IntToStr(build))
end.

Thank you!

But…how can i find the description of all functions (example: Instance.GetProductVersion, and other)

???

[quote=“Torben, post:2, topic:9362”][code]
var
major, minor, release, build: integer;
betaname: string;

begin
Instance.GetProductVersion(major, minor, release, build, betaname);
if betaname = ‘’
SystemLog('This is mAirList ’ + IntToStr(major) + ‘.’ + IntToStr(minor) + ‘.’ + IntToStr(relelease) + ’ Build ’ + IntToStr(build))
else
SystemLog('This is mAirList ’ + IntToStr(major) + ‘.’ + IntToStr(minor) + ‘.’ + IntToStr(relelease) + ’ ’ + betaname + ’ Build ’ + IntToStr(build))
end.
[/code][/quote]

I think this may help, there is a help file that carries all the functions available (and there are a lot).

http://download.mairlist.com/mAirList/v4.3/scriptinghelp/