fr:documentation:script_example
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| fr:documentation:script_example [2017/02/28 15:37] – [Disconnect the ASCOM driver] pch | fr:documentation:script_example [2017/02/28 15:43] (Version actuelle) – [Sans attente] pch | ||
|---|---|---|---|
| Ligne 252: | Ligne 252: | ||
| </ | </ | ||
| - | ===== Open a document ===== | + | ===== Ouvrir un document ===== |
| - | The following | + | Le code suivant ouvre la documentation |
| - | You can use any document | + | Vous pouvez utiliser n' |
| < | < | ||
| Ligne 263: | Ligne 263: | ||
| </ | </ | ||
| - | ===== Run a command | + | ===== Exécuter une commande |
| - | There is two different way to run an external command or program, depending if you want to wait for a result or not. | + | Il existe deux façons différentes d' |
| - | ==== Wait for a result | + | ==== Avec attente du résultat |
| - | The following command run the DIR command in the current directory. The result is stored in a stringlist and later show in a text memo. It contain the list of files in the directory. | + | Le code suivant exécute la commande |
| < | < | ||
| Ligne 281: | Ligne 281: | ||
| </ | </ | ||
| - | ==== No wait ==== | + | ==== Sans attente |
| - | + | ||
| - | If the command can run for an undetermined time or do not produce an output you need to use the following form.\\ | + | |
| - | This example run the Variable star observer program and exit immediately. | + | |
| + | Si la commande peut s' | ||
| + | Cet exemple exécute le programme " | ||
| < | < | ||
| begin | begin | ||
fr/documentation/script_example.1488292656.txt.gz · Dernière modification : 2017/02/28 15:37 de pch
