From b44cda98ccf0244ea91a971ef4df03560024c540 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Mon, 6 Mar 2023 09:07:34 -0300 Subject: [PATCH] Update chapter-05-gbdialog-reference.md --- book/chapter-05-gbdialog-reference.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/book/chapter-05-gbdialog-reference.md b/book/chapter-05-gbdialog-reference.md index 3b8384b8..c17f4cac 100644 --- a/book/chapter-05-gbdialog-reference.md +++ b/book/chapter-05-gbdialog-reference.md @@ -44,17 +44,17 @@ The following file types are loaded from a .gbdialog package: `.vbs`, `.vb`, `.b | GO TO [number,] dialogName | Transfers the conversation to a next dialog for the specificed number or as last command, transfers the context to this dialog. | | SEE CAPTION OF _url_ AS _variable_ | Extracts an caption, using a pre-trained neural network, from a image. | | SEE TEXT OF _url_ AS _variable_ | Extracts text from the image in a OCR (Optical Character Recognition) feature. | -| * data = SELECT a, SUM(b) AS b FROM data GROUP BY a | Use SQL to manipulate a data variable returned from FIND or an array | _variable_ = CHART "pie", data| Generates a chart from data. | -| * file = data AS IMAGE| Converts a two dimension array into an image file, ready to be used with SAVE AS or SEND FILE.| -| * file = data AS PDF| Converts a two dimension array into an PDF file, ready to be used with SAVE AS or SEND FILE.| -| * page = GET PAGE _url_ | Web automation retrival of a web page.| +| data = SELECT a, SUM(b) AS b FROM data GROUP BY a | Use SQL to manipulate a data variable returned from FIND or an array | _variable_ = CHART "pie", data| Generates a chart from data. | +| file = data AS IMAGE| Converts a two dimension array into an image file, ready to be used with SAVE AS or SEND FILE.| +| file = data AS PDF| Converts a two dimension array into an PDF file, ready to be used with SAVE AS or SEND FILE.| +| page = OPEN _url_ [AS #namedSession] | Web automation retrival of a web page saving the session for reuse in other dialogs (optional).| | * _variable_ = GET page, cssSelector, "body > img" | Retrives an element within an IFRAME specified by selector eg.: "[name=iFrameName]", to be used later. | | * SET page, cssSelector, value | Define an field to value eg. "value 123" on the webpage specified by selector eg. "#id". | | * CLICK page, cssSelector | Clicks on an element inside the web page being automated by General Bots. | | * file = DOWNLOAD _url_ | | |NEW OBJECT| Creates a new object to be used with REST calls for example.
```data = NEW OBJECT```
```data.color = "blue"``` | |NEW ARRAY| Creates a new array.
```data = NEW ARRAY```
```data[0] = "blue"``` | - +| QRCODE | Creates a QRCode from specified text, eg.: file = QRCODE "data" | * = Work in progress. ### Options