From iMacros
Jump to: navigation, search

This command is mainly used for debugging purposes, for example if you create your own iMacros installer package. It retrieves the version (build) number of the installed Scripting Interface (iimInterface.dll).

It returns a number in LONG format such as 80066532. Note that the iMacros main version number (as shown by VERSION) and the Scripting Interface version number as shown by iimGetInterfaceVersion are not identical.

V6.65+: The last two digits of the returned version number indicate if you are using the 32bit or x64 Scripting Interface. Example: 32bit: 80066532, 64bit: 80066564

Syntax iMacros Browser IE Plug-in Firefox Chrome

long version_number = iimGetInterfaceVersion()

Note that iimGetInterfaceVersion() is the only Scripting Interface command that can be called before calling iimOpen().


no parameters


Visual Basic Script example:

 Dim l,i
 Set iim1= CreateObject ("imacros")
 l =  iim1.iimGetInterfaceVersion()
 Msgbox "The version number of the Scripting Interface is: "+cstr(l)
 i=  iim1.iimOpen
 If i < 0 Then msgbox iim1.iimGetErrorText()
 i = iim1.iimPlay("demo-frames")