Type Array Event system Revision Release 2024.3703 Keywords system, commandLineArgs See also event.commandLineDir
An array of strings representing command line arguments that were given to subsequent launches of a "applicationOpen"
.
If a Win32 desktop app is set up to be build.settings
file (reference), subsequent launches of the app will bring the first instance's window to the front of the desktop instead. If any command line arguments were provided to the second instance, its arguments are delivered to the first instance via an "applicationOpen"
typed system event via this property.
This property is only supported by Win32 desktop apps. It will be an empty array on all other platforms when event.type is set to "applicationOpen"
.
An "applicationOpen"
typed system event will not be dispatched:
singleInstance
build setting is set to false
(reference).main.lua
file's ...
launch arguments via an args
property.