en:documentation:line_commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:documentation:line_commands [2010/08/28 09:44] – pch | en:documentation:line_commands [2025/09/07 10:06] (current) – [Command line options] dokuadmin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ^ Option ^ Parameter ^ Function ^ | ^ Option ^ Parameter ^ Function ^ | ||
| - | | %%--config%% | configuration | + | | %%--config%% | configuration file path | Lets you specify the configuration file to use instead of the \\ default " |
| + | | %%--loaddef%% | option file path | Same as the LOADDEFAULT [[server_commands|server command]]\\ Use this option to load an extract of the configuration file that temporarily replace some option from skychart.ini. | | ||
| + | | %%--obslist%% | observation list file path| Load the specified observation list | | ||
| | %%--unique%% | | Do not launch the program if another instance is already running but instead send the other options to the running instance | | | %%--unique%% | | Do not launch the program if another instance is already running but instead send the other options to the running instance | | ||
| - | | %%--quit%% | | Use this option in conjunction with %%--unique%% to close the running instance | | + | | %%--quit%% | | Use this option in conjunction with %%--unique%% to close the running instance, or to exit immediately. |
| | %%--nosplash%% | | Do not show the splash screen on startup | | | %%--nosplash%% | | Do not show the splash screen on startup | | ||
| | %%--daemon%% | | Start the program in background without showing the main window | | | %%--daemon%% | | Start the program in background without showing the main window | | ||
| - | ^Options affecting the first chart^^^ | + | | %%--nosave%% | | Do not save options on exit. Useful with %%--loaddef%% option | |
| - | | %%--load%% | saved_file_name | Same as the LOAD [[server_commands|server command]] | | + | | %%--loadmpcorb%% | file_name | Same as the LOADMPCORB [[server_commands|server command]]\\ Use this option to load an asteroid element file. | |
| + | ^Options affecting the first active | ||
| + | | %%--load%% | saved_file_name | Same as the LOAD [[server_commands|server command]]\\ Use this option to load a template with all the chart setting you cannot set here. | | ||
| | %%--search%% | object_name | Same as the SEARCH [[server_commands|server command]] | | | %%--search%% | object_name | Same as the SEARCH [[server_commands|server command]] | | ||
| | %%--setproj%% | ALTAZ/ | | %%--setproj%% | ALTAZ/ | ||
| Line 16: | Line 20: | ||
| | %%--setra%% | RA: | | %%--setra%% | RA: | ||
| | %%--setdec%% | DEC: | | %%--setdec%% | DEC: | ||
| - | | %%--setobs%% | LAT:+00d00m00sLON:+000d00m00sALT: | + | | %%--setobs%% | LAT:+00d00m00s\\ LON:+000d00m00\\ sALT: |
| | %%--settz%% | Etc/GMT | Same as the SETTZ [[server_commands|server command]] | | | %%--settz%% | Etc/GMT | Same as the SETTZ [[server_commands|server command]] | | ||
| - | | %%--setdate%% | yyyy-mm-ddThh: | + | | %%--setdate%% | yyyy-mm-ddThh: |
| + | | %%--setcat%% | %%" | ||
| + | | %%--resize%% | %%" | ||
| + | | %%--dss%% | | Same as the PDSS [[server_commands|server command]] | | ||
| + | | %%--saveimg%% | %%" | ||
| + | | %%--savecdc3%% | filename | ||
| + | | %%--print%% | %%" | ||
| + | |||
| + | Warning, contrary to commands sent by TCP/IP, options and parameters are separated by the %%" | ||
| On Unix you can send a signal to the running program with the kill command: | On Unix you can send a signal to the running program with the kill command: | ||
| Line 25: | Line 37: | ||
| | 1, HUP | Reload the default chart and options | | | 1, HUP | Reload the default chart and options | | ||
| | 15, TERM | Gracefully close the program | | | 15, TERM | Gracefully close the program | | ||
| + | |||
| + | |||
| + | ===== Automation example using command line ===== | ||
| + | |||
| + | Automation is normally done by sending [[server_commands|server commands]] to the [[system# | ||
| + | |||
| + | First star the main instance : \\ | ||
| + | %%# skychart --unique%% | ||
| + | |||
| + | Set the image size you want: \\ | ||
| + | %%# skychart --unique --resize=" | ||
| + | |||
| + | Then the following command show a chart of Messier 1 without opening a new window:\\ | ||
| + | %%# skychart --unique --setfov=3 --setproj=EQUAT --search=M1%% | ||
| + | |||
| + | Save an image with the current chart:\\ | ||
| + | %%#skychart --unique --saveimg=" | ||
| + | |||
| + | You can now repeat with other objects or FOV. When finished you can close the main window:\\ | ||
| + | %%# skychart --unique --quit%% | ||
| + | |||
| + | It is also possible to do all at a time and exit, without displaying anything on the screen, this is useful if you want only one image:\\ | ||
| + | %%#skychart --nosplash --daemon --resize=" | ||
| + | |||
en/documentation/line_commands.1282981499.txt.gz · Last modified: 2015/11/06 20:35 (external edit)
