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

leIsLayoutAppOrAbove

leIsLayoutAppOrAbove(
t_appName 
) 
=> t / nil

Description

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

Arguments

t_appName

Name of the application.

Value Returned

t

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

nil

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

Example

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

appName = hiGetAppType(hiGetCurrentWindow())
=>"Layout"
leIsLayoutAppOrAbove(appName)
=>t

The following code returns nil as the application name is invalid.

leIsLayoutAppOrAbove("VLSapp")
=>nil

Related Topics

Application Tier Functions


Return to top
 ⠀
X