LaunchCommandLineTool.dox 876 B

1234567891011121314151617181920212223242526272829303132
  1. /*!
  2. \page LaunchCommandLineTool Launching Command Line Tools
  3. Any ECMAScript file can be executed with the QCAD binary as a standalone
  4. application, using the -autostart command line argument:
  5. \code
  6. ./qcad -autostart myscript.js
  7. \endcode
  8. The default autostart script is scripts/autostart.js, which launches the QCAD
  9. application. If the autostart script is given as command line argument, the
  10. default autostart script is not launched.
  11. If your script does not require or does not have access to a user interface
  12. (for example in a server environment), you may pass the command line switch
  13. -no-gui to QCAD:
  14. \code
  15. ./qcad -no-gui -autostart myscript.js
  16. \endcode
  17. Under Mac OS X, you might also want to use -no-dock-icon to prevent Mac OS X
  18. from showing a dock icon every time your application is launched:
  19. \code
  20. ./qcad -no-gui -no-dock-icon -autostart myscript.js
  21. \endcode
  22. */