[Prev: arguments] [Home] [Next: Built-in Constants]
This is an Array variable which holds an ordered list of the command line arguments that were passed to the application (if any). Application.argv[0] is the name of the application, as passed to the Qt Script for Applications interpreter; any remaining arguments are in Application.argv[1] onwards.
For Qt Script for Applications, Application.argv[0] is the name of the C++ application which is scriptable using Qt Script for Applications and the other arguments are those which were passed to the Qt/C++ on the command line.
Example
function main() { for ( var i = 1; i < Application.argv.length; i++ ) { debug( Application.argv[i] ); } }