From 7cf80321bdcd7fbc3cd696b1dfa7f38e3ffc50f7 Mon Sep 17 00:00:00 2001 From: martinrotter Date: Thu, 16 Dec 2021 08:08:00 +0100 Subject: [PATCH] Update Documentation.md --- resources/docs/Documentation.md | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/docs/Documentation.md b/resources/docs/Documentation.md index 49ba1da3b..18c6ba07a 100644 --- a/resources/docs/Documentation.md +++ b/resources/docs/Documentation.md @@ -167,6 +167,7 @@ Note that `MessageObject` attributes which can be synchronized with service are | Method | `hostname()` | `String` | `utils.hostname()` | Returns name of your PC. | Method | `fromXmlToJson(String)` | `String` | `utils.fromXmlToJson('

hello

')` | Converts `XML` string into `JSON`. | Method | `parseDateTime(String)` | `Date` | `utils.parseDateTime('2020-02-24T08:00:00')` | Converts textual date/time representation into proper `Date` object. +| Method | `runExecutableGetOutput(String, String[])` | `String` | `utils.runExecutableGetOutput('cmd.exe', ['/c', 'dir'])` | Launches external executable with optional parameters, reads its standard output and returns the output when executable finishes. #### Examples Accept only messages/articles from "Bob", while also mark them "important":