leIsLayoutAppOrAbove
leIsLayoutAppOrAbove(
t_appName
)
=> t / nil
Description
Specifies whether the given application is Layout Viewer or a higher tier application.
Arguments
Value Returned
|
The specified application is Layout Viewer or a higher tier application. |
|
|
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
Return to top