From a4a9680f8fbff14a4df448b5ab32a0b509418d80 Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 9 Jun 2024 17:25:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D1=85=20=D1=84=D0=B0?= =?UTF-8?q?=D0=B9=D0=BB=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboard.json | 23 ----------------------- package-lock.json | 6 ------ service/vhs/full.tape | 30 ++++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 29 deletions(-) delete mode 100644 keyboard.json delete mode 100644 package-lock.json create mode 100644 service/vhs/full.tape diff --git a/keyboard.json b/keyboard.json deleted file mode 100644 index 12ab23c202..0000000000 --- a/keyboard.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "keyboard": [ - [ - { - "text": "Button1", - "callback_data": "Button1" - } - ], - [ - { - "text": "Button2", - "callback_data": "Button2" - } - ], - [ - { - "text": "Button3", - "callback_data": "Button3" - } - ] - ], - "resize_keyboard": true -} diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index cc470c8544..0000000000 --- a/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "OPI", - "lockfileVersion": 3, - "requires": true, - "packages": {} -} diff --git a/service/vhs/full.tape b/service/vhs/full.tape new file mode 100644 index 0000000000..5379047518 --- /dev/null +++ b/service/vhs/full.tape @@ -0,0 +1,30 @@ + + +Output "full.gif" + +# Require echo + +Set Shell "cmd" +Set FontSize 12 +Set Width 868 +Set Height 619 + +Hide +Type "set token=" Enter +Type "cls" Enter +Show + +Type `oint` Sleep 200ms Enter +Sleep 8s + +Type `oint telegram` Sleep 200ms Enter +Sleep 5s + +Type `oint telegram СформироватьКлавиатуруПоМассивуКнопок` Sleep 200ms Enter +Sleep 3s + +Type `oint telegram СформироватьКлавиатуруПоМассивуКнопок --buttons "['Хорошо','Нормально','Плохо']" --out keyboard.json ` Sleep 200ms Enter +Sleep 3s +Type `oint telegram ОтправитьТекстовоеСообщение --token %token% --chat 461699897 --text "Привет, как дела?" --keyboard ./keyboard.json` Sleep 200ms Enter + +Sleep 12s