Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/zelloptt/zello-work-windo…
- Loading branch information
Showing
4 changed files
with
58 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# ZelloWork Windows app command line interface | ||
|
||
### Description | ||
The ZelloWork command line interface allows you to send text, voice, and image messages to the specified user or channel. The ZelloWork application must be installed and the correct user account must be configured. | ||
|
||
If the Zello app is already running, it will immediately start sending the message. If the Zello app is not running, it will start, sign in and then send the message. The result can be saved to a text file and you can customize operation timeout. | ||
|
||
### Supported switches | ||
|
||
Option | Description | ||
-------|------- | ||
/audio=`path` | The full path to the audio file contaning the message to send. The file must be in `WAV` format. Options `/audio`, `/alert`, and `/image` are mutually exclusive. | ||
/image=`path` | The full path of the image file to send. | ||
/alert=`text` | The text of the call alert to send. The text must be enclosed in quotation marks and any quotation marks inside must be escaped. Example: `"The boat is called \"Zello Star\""` | ||
/contact=`name` | The `name` of the contact or channel to send the message to. | ||
/channel=false | _Optional._ Include this switch if the name specified by the `/contact` switch is a name of a user. By default, the message will be sent to a channel. | ||
/report=`file name` | _Optional._ The name of the file where the app will write the operation result. If the file already exists, it will be appended. You can use this file to audit which messages were sent, when they were sent, and to troubleshoot issues. | ||
/timeout=`timeout` | _Optional._ Operation timeout in seconds. If the app is unable to complete the operation within the specified time, it will cancel it and write an error to the report file. | ||
|
||
### Examples | ||
|
||
#### Audio message | ||
Send an audio message from the file `Audioclip.wav` to a channel named `This game has no name` with a timeout of `12` seconds and write the operation result to `E:\Voice\log.txt`. | ||
|
||
```shell | ||
"C:\Program Files\ZelloWork\ptt.exe" /contact="This game has no name" /audio="E:\Voice\Audioclip.wav" /report="E:\Voice\log.txt" /timeout=12 | ||
``` | ||
|
||
#### Call alert | ||
Send a call alert with the text `Please call dispatch` to user `1182 Mike` with a timeout of `40` seconds and write the operation result to `result.txt` | ||
|
||
|
||
```shell | ||
"C:\Program Files\ZelloWork\ptt.exe" /contact="1182 Mike" /alert="Please call dispatch" /report="result.txt" /timeout=40 | ||
``` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.