returns the name of the current screen.
# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
the screenName
# Examples
the screenName
put "myApp -d" && the screenName into commandLine
# Description
Use the screenName function to control where applications that LiveCode starts up should appear.
On Unix systems, the screenName function returns the string provided by the XDisplayName function call. When starting a process with the open process command or the shell function, if you want the process to appear on the same screen as LiveCode, use the value return by the screenName as the argument to the -d option.
This function does not return a useful value on Mac OS and Windows systems.
# Tags
# See
- **keyword:** string - **command:** open process - **function:** shell, value, screenVendor - **control structure:** function - **glossary:** function call, argument, return, command, process