Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leIsMXLAppOrAbove

leIsMXLAppOrAbove(
t_appName 
) 
=> t / nil

Description

Specifies whether the given application is Layout MXL or a higher tier application.

Arguments

t_appName

Name of the application.

Value Returned

t

The specified application is Layout MXL or a higher tier application.

nil

The specified application is not Layout MXL or a higher tier, or the specified name is invalid.

Example

The following code retrieves the name of the application in the current window as VLS-MXL and returns t to indicate that the current application is Layout MXL or a higher tier application.

appName = hiGetAppType(hiGetCurrentWindow())
=>"VLS-MXL"
leIsMXLAppOrAbove(appName)
=>t

The following code retrieves the application name of the current window as VLS-EXL and returns nil to indicate that the current application is not Layout MXL or a higher tier application.

appName = hiGetAppType(hiGetCurrentWindow())
=>"VLS-EXL"
leIsMXLAppOrAbove(appName)
=>nil

Related Topics

Application Tier Functions


Return to top
 ⠀
X