Update chapter-05-gbdialog-reference.md
This commit is contained in:
parent
f6d76a5d18
commit
fe1d3f80d1
1 changed files with 49 additions and 2 deletions
|
@ -130,6 +130,53 @@ SEND FILE img
|
||||||
SAVE img as "folder/filename.jpg"
|
SAVE img as "folder/filename.jpg"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Using General Bots Web Automation to custom notify about Calendar
|
||||||
|
|
||||||
|
```basic
|
||||||
|
|
||||||
|
REM Perform G. Login.
|
||||||
|
OPEN "https://accounts.google.com/ServiceLogin"
|
||||||
|
SET "#identifierId", "test@gmail.com"
|
||||||
|
PRESS ENTER
|
||||||
|
WAIT 3
|
||||||
|
SET "input[type='password']", "hempoil"
|
||||||
|
PRESS ENTER
|
||||||
|
WAIT 5
|
||||||
|
|
||||||
|
REM Enter on the Calendar page and capture the calendar grid inside the page.
|
||||||
|
OPEN "https://calendar.google.com/calendar/u/0/r?tab=mc&pli=1"
|
||||||
|
file = SCREENSHOT "div.K2fuAf"
|
||||||
|
|
||||||
|
REM Notify all team members with the updated calendar image.
|
||||||
|
list = FIND "People.xlsx", "Calendar=Y"
|
||||||
|
index = 1
|
||||||
|
DO WHILE index < ubound(list)
|
||||||
|
row = list[index]
|
||||||
|
TALK TO row.Mobile, "Hello " + row.Name + ", here is your calendar:"
|
||||||
|
SEND FILE TO row.Mobile, file, "Calendar"
|
||||||
|
index = index + 1
|
||||||
|
LOOP
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
list = FIND "People.xlsx", "Calendar=Y"
|
||||||
|
|
||||||
|
index = 1
|
||||||
|
|
||||||
|
DO WHILE index < ubound(list)
|
||||||
|
|
||||||
|
row = list[index]
|
||||||
|
|
||||||
|
TALK TO row.Mobile, "Hello " + row.Name + ", here is your calendar:"
|
||||||
|
|
||||||
|
SEND FILE TO row.Mobile, file, "Calendar"
|
||||||
|
|
||||||
|
index = index + 1
|
||||||
|
|
||||||
|
LOOP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Using complete General Bots Conversational Data Analytics
|
### Using complete General Bots Conversational Data Analytics
|
||||||
|
|
||||||
```BASIC
|
```BASIC
|
||||||
|
@ -155,8 +202,6 @@ SEND FILE img
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Using General Bots Office templates
|
### Using General Bots Office templates
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -201,6 +246,8 @@ LOOP
|
||||||
EXIT
|
EXIT
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Using POST data
|
### Using POST data
|
||||||
|
|
||||||
You can use POST passing a variable as the second param in the POST call. The example
|
You can use POST passing a variable as the second param in the POST call. The example
|
||||||
|
|
Loading…
Add table
Reference in a new issue